From a3d6099892eb9c4274fea56726b8ff815dd0481f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Thu, 6 Apr 2017 19:14:38 +0200 Subject: [PATCH] Remove short option conflict --- src/cmds/restic/cmd_find.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmds/restic/cmd_find.go b/src/cmds/restic/cmd_find.go index 5c1893268..e78b14e2d 100644 --- a/src/cmds/restic/cmd_find.go +++ b/src/cmds/restic/cmd_find.go @@ -44,8 +44,8 @@ func init() { cmdRoot.AddCommand(cmdFind) f := cmdFind.Flags() - f.StringVarP(&findOptions.Oldest, "oldest", "o", "", "oldest modification date/time") - f.StringVarP(&findOptions.Newest, "newest", "n", "", "newest modification date/time") + f.StringVarP(&findOptions.Oldest, "oldest", "O", "", "oldest modification date/time") + f.StringVarP(&findOptions.Newest, "newest", "N", "", "newest modification date/time") f.StringSliceVarP(&findOptions.Snapshots, "snapshot", "s", nil, "snapshot `id` to search in (can be given multiple times)") f.BoolVarP(&findOptions.CaseInsensitive, "ignore-case", "i", false, "ignore case for pattern") f.BoolVarP(&findOptions.ListLong, "long", "l", false, "use a long listing format showing size and mode")