From 5acfbc1b2ffbd156ca7a1f2cc09084a518f1d58e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 15 Aug 2018 13:11:34 +0200 Subject: main: add -e as an alias for -exclude --- cli_args.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli_args.go') 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 "+ -- cgit v1.2.3