Skip to content

Handle missing subcommand gracefully#32

Merged
matburt merged 1 commit intoproject-receptor:masterfrom
jimi-c:fix_missing_subcommand_error
Oct 8, 2019
Merged

Handle missing subcommand gracefully#32
matburt merged 1 commit intoproject-receptor:masterfrom
jimi-c:fix_missing_subcommand_error

Conversation

@jimi-c
Copy link
Copy Markdown
Contributor

@jimi-c jimi-c commented Sep 30, 2019

before

[jamesc@jimi receptor]$ python3 -m receptor 
An error occured while running receptor:
'Namespace' object has no attribute 'func'

after

[jamesc@jimi receptor]$ python3 -m receptor 
An error occured while running receptor:
you must specify a subcommand (node, controller, ping, send).

@matburt matburt merged commit dd404ae into project-receptor:master Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants