From 49ef4ae75f1a3a1d9c8a2daa87f5291604d3ee94 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 2 Jul 2018 12:56:26 +0700 Subject: cmd: display "exclude" options on command usage --- cmd/beku/command.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/beku/command.go b/cmd/beku/command.go index a1ff0b3..d237b22 100644 --- a/cmd/beku/command.go +++ b/cmd/beku/command.go @@ -28,6 +28,7 @@ const ( flagOperationRemove = "Remove package." flagOperationSync = "Synchronize package. If no package is given, it will do rescan." + flagOptionExclude = "Exclude package from further operation" flagOptionNoConfirm = "No confirmation will be asked on any operation." flagOptionNoDeps = "Do not install any missing dependencies." flagOptionRecursive = "Remove package including their dependencies." @@ -66,6 +67,10 @@ operations: beku {-D|--database} ` + flagOperationDatabase + ` + options: + [-e|--exclude] + ` + flagOptionExclude + ` + beku {-Q|--query} [pkg ...] ` + flagOperationQuery + ` @@ -79,11 +84,10 @@ operations: beku {-S|--sync} [options] ` + flagOperationSync + ` - option: + options: [-u|--update] ` + flagOptionUpdate + ` - options: [--into ] ` + flagOptionSyncInto + ` ` -- cgit v1.3