Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review all commandline flags #32

Open
trufae opened this issue Dec 12, 2017 · 1 comment
Open

Review all commandline flags #32

trufae opened this issue Dec 12, 2017 · 1 comment

Comments

@trufae
Copy link
Member

trufae commented Dec 12, 2017

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
Copy link
Member Author

trufae commented Dec 12, 2017

my proposal:

  • -a should be -t for timeout instead of alarm.
  • -B should be -b or maybe find another flag like -a
  • I would probably change -b or exchange with -B

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant