usage text: document -e
Этот коммит содержится в:
родитель
3a22605fc6
Коммит
58db52dfc9
@ -426,11 +426,12 @@ void print_usage()
|
||||
printf("--path, -w\t\t\tpath -- adds the specified path to the watchlist\n");
|
||||
printf("--logfile, -o\t\t\tlogfile -- output goes here\n");
|
||||
printf("--mask, -m\t\t\tmaskval -- inotify mask value. Can be specified multiple times, will be ORed.\n");
|
||||
printf("--no-env, -a\t\t\tif specified, the inotify event which occured won't be passed to the script as an envvar.\n");
|
||||
printf("--no-env, -a\t\t\tif specified, the inotify event which occured won't be passed to the script as an environment variable.\n");
|
||||
printf("--silent, -q\t\t\tsilent\n");
|
||||
printf("--stdin, -s\t\t\tRead the paths which must be added to the watchlist from stdin. Each path in a seperate line\n");
|
||||
printf("--no-forkbomb-check, -b\t\tDisable fork bomb detection\n");
|
||||
printf("--ignore, -i\t\t\tpattern -- Ignore events on files for which the pattern matches\n");
|
||||
printf("--ignore, -i\t\t\tpattern -- Ignore events on files for which the pattern matches\n");
|
||||
printf("--exit-with-child, -e\t\tExit when the script exits. You can also specify a return code (e. g. -e 1 = exit on error)\n");
|
||||
printf("\n\nIf your script should know the file the event occured on, use {} when you specify the script arguments (like xargs)\n");
|
||||
}
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user