aboutsummaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-08-15 13:11:34 +0200
committerJakob Unterwurzacher2018-08-15 13:12:13 +0200
commit5acfbc1b2ffbd156ca7a1f2cc09084a518f1d58e (patch)
tree8c7ec9ed5a7f70945285143f7ed493c21a79351e /cli_args.go
parent7a02f71fc2fc8fc104ad1538f417d1e93e73cf11 (diff)
main: add -e as an alias for -exclude
Diffstat (limited to 'cli_args.go')
-rw-r--r--cli_args.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli_args.go b/cli_args.go
index ecbfa3a..114a27e 100644
--- a/cli_args.go
+++ b/cli_args.go
@@ -176,6 +176,8 @@ func parseCliOpts() (args argContainer) {
flagSet.StringVar(&args.force_owner, "force_owner", "", "uid:gid pair to coerce ownership")
flagSet.StringVar(&args.trace, "trace", "", "Write execution trace to file")
+ // -e, --exclude
+ flagSet.Var(&args.exclude, "e", "Alias for -exclude")
flagSet.Var(&args.exclude, "exclude", "Exclude relative path from reverse view")
flagSet.IntVar(&args.notifypid, "notifypid", 0, "Send USR1 to the specified process after "+