Skip to content

Commit

Permalink
Allow *all argument in read function instead of just *a
Browse files Browse the repository at this point in the history
This makes io2 more consistent with io.
  • Loading branch information
davidcernat committed Dec 17, 2018
1 parent 7f798f4 commit 3d0418c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace io2
if (arg.is<string>())
{
string str = arg.as<string>();
if (str == "*a")
if (str == "*all" || str == "*a")
{
auto _size = static_cast<size_t>(size());
string _str(readbytes(_size), 0, _size + 1);
Expand Down

0 comments on commit 3d0418c

Please sign in to comment.