diff options
| author | Shulhan <ms@kilabit.info> | 2018-07-02 12:56:26 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-07-02 12:56:26 +0700 |
| commit | 49ef4ae75f1a3a1d9c8a2daa87f5291604d3ee94 (patch) | |
| tree | e2979b3dd4c8152a902253eb191a6e9da2a5aa36 | |
| parent | d2277cb2a2813a5fb02d508f650df80860512146 (diff) | |
| download | beku-49ef4ae75f1a3a1d9c8a2daa87f5291604d3ee94.tar.xz | |
cmd: display "exclude" options on command usage
| -rw-r--r-- | cmd/beku/command.go | 8 |
1 files 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} <pkg[@version]> [options] ` + flagOperationSync + ` - option: + options: [-u|--update] ` + flagOptionUpdate + ` - options: [--into <directory>] ` + flagOptionSyncInto + ` ` |
