Hide profiling options from help
This commit is contained in:
parent
ce0a817cb9
commit
6451deea33
1 changed files with 3 additions and 0 deletions
|
|
@ -97,6 +97,9 @@ func main() {
|
|||
rootCmd.PersistentFlags().StringVarP(&cpuprofile, "cpuprofile", "c", "", "Profile CPU usage")
|
||||
rootCmd.PersistentFlags().StringVarP(&memoryprofile, "memoryprofile", "m", "", "Profile memory usage")
|
||||
|
||||
rootCmd.PersistentFlags().MarkHidden("cpuprofile")
|
||||
rootCmd.PersistentFlags().MarkHidden("memoryprofile")
|
||||
|
||||
var ls = &cobra.Command{
|
||||
Use: "ls [Cameras IP Address]",
|
||||
Short: "List files stored on the cameras SD-Card",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue