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

Side by Side Diff: client/cmd/isolated/main.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 unified diff | Download patch
« no previous file with comments | « client/cmd/isolate/main.go ('k') | client/cmd/swarming/main.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package main 5 package main
6 6
7 import ( 7 import (
8 "log" 8 "log"
9 "os" 9 "os"
10 10
(...skipping 10 matching lines...) Expand all
21 var opts = auth.Options{} 21 var opts = auth.Options{}
22 22
23 var application = &subcommands.DefaultApplication{ 23 var application = &subcommands.DefaultApplication{
24 Name: "isolated", 24 Name: "isolated",
25 Title: "isolateserver.py but faster", 25 Title: "isolateserver.py but faster",
26 // Keep in alphabetical order of their name. 26 // Keep in alphabetical order of their name.
27 Commands: []*subcommands.Command{ 27 Commands: []*subcommands.Command{
28 cmdArchive, 28 cmdArchive,
29 cmdDownload, 29 cmdDownload,
30 subcommands.CmdHelp, 30 subcommands.CmdHelp,
31 » » authcli.SubcommandInfo(opts, "info"), 31 » » authcli.SubcommandInfo(opts, "info", false),
32 » » authcli.SubcommandLogin(opts, "login"), 32 » » authcli.SubcommandLogin(opts, "login", false),
33 » » authcli.SubcommandLogout(opts, "logout"), 33 » » authcli.SubcommandLogout(opts, "logout", false),
34 common.CmdVersion(version), 34 common.CmdVersion(version),
35 }, 35 },
36 } 36 }
37 37
38 func main() { 38 func main() {
39 log.SetFlags(log.Lmicroseconds) 39 log.SetFlags(log.Lmicroseconds)
40 os.Exit(subcommands.Run(application, nil)) 40 os.Exit(subcommands.Run(application, nil))
41 } 41 }
OLDNEW
« no previous file with comments | « client/cmd/isolate/main.go ('k') | client/cmd/swarming/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698