File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Examples:
2424
2525 flagSet := flag .NewFlagSet ("delete" , flag .ExitOnError )
2626 var variableArgs abcVariableArgs
27- flagSet .Var (& variableArgs , "var" , "Variable name to delete. Repeat to delete multiple variables ." )
27+ flagSet .Var (& variableArgs , "var" , "Variable name to delete. Repeat for multiple names ." )
2828 usageFunc := func () {
2929 fmt .Fprintf (flag .CommandLine .Output (), "Usage of 'src abc <workflow-instance-id> variables %s':\n " , flagSet .Name ())
3030 flagSet .PrintDefaults ()
@@ -65,12 +65,7 @@ Examples:
6565 return nil
6666 }
6767
68- if len (variableNames ) == 1 {
69- fmt .Printf ("Removed variable %q from workflow instance %q.\n " , variableNames [0 ], instanceID )
70- return nil
71- }
72-
73- fmt .Printf ("Removed %d variables from workflow instance %q.\n " , len (variableNames ), instanceID )
68+ fmt .Printf ("Removed variables %q from workflow instance %q.\n " , variableNames , instanceID )
7469 return nil
7570 }
7671
You can’t perform that action at this time.
0 commit comments