error: Found argument 'ls -l' which wasn't expected, or isn't valid in this context
hook-s3c opened this issue · 3 comments
hook-s3c commented
$ syswall_cli ls -l
error: Found argument 'ls -l' which wasn't expected, or isn't valid in this context
USAGE:
syswall_cli [FLAGS] [OPTIONS] [--] <tracee_cmd>...
For more information try --help
hook-s3c commented
is this a bug? I can't find this error string in the code
polaris64 commented
The tracee command (e.g. ls -l
) needs to be separated from the CLI-specific arguments by a --
. So for example, you might use syswall_cli -- ls -l
or syswall_cli -v -- ls -l
. Hope that helps!
hook-s3c commented
ahhh, that wasn't very clear - thanks, works great now. Awesome work!