new README

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2016-03-06 07:18:59 +03:00
parent 71744b6325
commit f05682e9a7
2 changed files with 44 additions and 26 deletions

8
ufwd
View File

@@ -13,7 +13,13 @@ cfg_scan_delay='30'
msg() { printf '%s\n' "$*"; }
err() { echo "$*" >&2; }
usage() { echo "No help available."; }
usage() {
printf 'Usage: ufwd [-hn] [-d workdir] -D [check delay]\n'
printf ' -h # Show this message.\n'
printf ' -n # Enable notifications with notify-send. Must be installed.\n'
printf ' -d [path] # Set the dir that is to be watched.\n'
printf ' -D [sec] # Set the check interval.\n'
}
main() {
while (( $# )); do