Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: cipd/client/cmd/cipd/friendly.go

Issue 2503583002: Hide advanced commands from cipd client help. (Closed)
Patch Set: address comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cipd/client/cmd/cipd/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cipd/client/cmd/cipd/friendly.go
diff --git a/cipd/client/cmd/cipd/friendly.go b/cipd/client/cmd/cipd/friendly.go
index fb967ae4248ce22460aa37388a9439dc30e65a1b..1f44d3439936734959a713c56262b9ceda7d4d69 100644
--- a/cipd/client/cmd/cipd/friendly.go
+++ b/cipd/client/cmd/cipd/friendly.go
@@ -370,6 +370,7 @@ func (opts *siteRootOptions) registerFlags(f *flag.FlagSet) {
// 'init' subcommand.
var cmdInit = &subcommands.Command{
+ Advanced: true,
UsageLine: "init [root dir] [options]",
ShortDesc: "sets up a new site root directory to install packages into",
LongDesc: "Sets up a new site root directory to install packages into.\n\n" +
@@ -421,6 +422,7 @@ func (c *initRun) Run(a subcommands.Application, args []string) int {
// 'install' subcommand.
var cmdInstall = &subcommands.Command{
+ Advanced: true,
UsageLine: "install <package> [<version>] [options]",
ShortDesc: "installs or updates a package",
LongDesc: "Installs or updates a package.",
@@ -484,6 +486,7 @@ func (c *installRun) Run(a subcommands.Application, args []string) int {
// 'installed' subcommand.
var cmdInstalled = &subcommands.Command{
+ Advanced: true,
UsageLine: "installed [<package> <package> ...] [options]",
ShortDesc: "lists packages installed in the site root",
LongDesc: "Lists packages installed in the site root.",
« no previous file with comments | « no previous file | cipd/client/cmd/cipd/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698