polaris64 / syswall

Work in progress firewall for Linux syscalls, written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: Found argument 'ls -l' which wasn't expected, or isn't valid in this context

hook-s3c opened this issue · comments

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
commented

is this a bug? I can't find this error string in the code

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!

commented

ahhh, that wasn't very clear - thanks, works great now. Awesome work!