We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dc8e6a commit 0ad8eebCopy full SHA for 0ad8eeb
cli/thing/list.go
@@ -44,7 +44,7 @@ func initListCommand() *cobra.Command {
44
Run: runListCommand,
45
}
46
// list only the things corresponding to the passed ids
47
- listCommand.Flags().StringSliceVarP(&listFlags.ids, "ids", "i", []string{}, "List of thing IDs to be retrieved")
+ listCommand.Flags().StringSliceVarP(&listFlags.ids, "ids", "i", nil, "List of thing IDs to be retrieved")
48
// list only the thing associated to the passed device id
49
listCommand.Flags().StringVarP(&listFlags.deviceID, "device-id", "d", "", "ID of Device associated to the thing to be retrieved")
50
listCommand.Flags().BoolVarP(&listFlags.variables, "show-variables", "s", false, "Show thing variables")
0 commit comments