Fix handling of global flags in scope definition 58/head
authorSam Corbett <sam.corbett@cloudsoftcorp.com>
Thu, 27 Jul 2017 13:58:11 +0000 (14:58 +0100)
committerSam Corbett <sam.corbett@cloudsoftcorp.com>
Thu, 27 Jul 2017 13:58:11 +0000 (14:58 +0100)
commita436dc0f2541a1d52c35fef00fe40efb4aec1968
treeebadaf11c9dfb8a05a3c1323ef17c8f37e4196d3
parentbe8051602b7bc2ad7bf0c1975aad55d7f354048a
Fix handling of global flags in scope definition

Previously the presence of global flags in a command like
"br --flag app a ent b sensor c" caused the CLI to run the command for
app, not sensor.
cli/api/catalog/catalog.go
cli/commands/activity.go
cli/scope/scope.go
cli/scope/scope_test.go [new file with mode: 0644]