nowsecure / fsmon

monitor filesystem on iOS / OS X / Android / FirefoxOS / Linux
https://www.nowsecure.com
MIT License
903 stars 153 forks source link

Review all commandline flags #32

Open trufae opened 6 years ago

trufae commented 6 years ago

some letters are a bit confusing, let's rethink them

Usage: fsmon [-jc] [-a sec] [-b dir] [-B name] [-p pid] [-P proc] [path]
 -a [sec]  stop monitoring after N seconds (alarm)
 -b [dir]  backup files to DIR folder (EXPERIMENTAL)
 -B [name] specify an alternative backend
 -c        follow children of -p PID
 -f        show only filename (no path)
 -h        show this help
 -j        output in JSON format
 -L        list all filemonitor backends
 -p [pid]  only show events from this pid
 -P [proc] events only from process name
 -v        show version
 [path]    only get events from this path
trufae commented 6 years ago

my proposal:

The other flags lgtm, unless we want to change a flag for a -m mode (mode=json,stream,tsv, ..)