{"action":"created","issue":{"url":"https://api.github.com/repos/hroptatyr/yuck/issues/6","labels_url":"https://api.github.com/repos/hroptatyr/yuck/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/hroptatyr/yuck/issues/6/comments","events_url":"https://api.github.com/repos/hroptatyr/yuck/issues/6/events","html_url":"https://github.com/hroptatyr/yuck/issues/6","id":76497143,"number":6,"title":"Can not create multiple subcommands","user":{"login":"czlars","id":12451572,"avatar_url":"https://avatars.githubusercontent.com/u/12451572?v=3","gravatar_id":"","url":"https://api.github.com/users/czlars","html_url":"https://github.com/czlars","followers_url":"https://api.github.com/users/czlars/followers","following_url":"https://api.github.com/users/czlars/following{/other_user}","gists_url":"https://api.github.com/users/czlars/gists{/gist_id}","starred_url":"https://api.github.com/users/czlars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czlars/subscriptions","organizations_url":"https://api.github.com/users/czlars/orgs","repos_url":"https://api.github.com/users/czlars/repos","events_url":"https://api.github.com/users/czlars/events{/privacy}","received_events_url":"https://api.github.com/users/czlars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-14T21:32:16Z","updated_at":"2015-05-15T08:13:33Z","closed_at":null,"body":"My yuck file tries to define two subcommands:\r\n\r\nUsage: rrcsctl\r\nLists available subcommands.\r\n\r\nUsage: rrcsctl zone [zone]\r\nZone operations\r\n\r\n  -l, --list\t\t\tlist all zones\r\n  -k, --kill=zone\t\t\tkill zone\r\n \r\n Usage: rrcsctl shm\r\n Shared Memory operations\r\n \r\n  -s, --stats\t\tshow statistics\r\n\r\n\r\nHowever, the generated yucc file merges the shm and zone commands together:\r\n\r\n$ ./rrcsctl -h\r\nUsage: rrcsctl [OPTION]... COMMAND\r\n\r\nLists available subcommands.\r\n\r\nCOMMAND may be one of:\r\n  zone        Zone operations\r\n\r\nOptions accepted by all commands:\r\n  -h, --help            display this help and exit\r\n  -V, --version         output version information and exit\r\n\r\n\r\n$ ./rrcsctl zone -h\r\nUsage: rrcsctl zone [OPTION]... [zone]\r\n\r\nZone operations\r\n\r\nCommon options:\r\n  -h, --help            display this help and exit\r\n  -V, --version         output version information and exit\r\n\r\nCommand-specific options:\r\n  -l, --list            list all zones\r\n  -k, --kill=zone       kill zone\r\n                        Usage: rrcsctl shm\r\n                        Shared Memory operations\r\n  -s, --stats           show statistics\r\n\r\nLatest yuck version:\r\n$ yuck/src/yuck -V\r\nyuck 0.2.0.git53.c27c78c\r\n\r\n\r\nWhat am I doing wrong?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/hroptatyr/yuck/issues/comments/102312079","html_url":"https://github.com/hroptatyr/yuck/issues/6#issuecomment-102312079","issue_url":"https://api.github.com/repos/hroptatyr/yuck/issues/6","id":102312079,"user":{"login":"hroptatyr","id":243996,"avatar_url":"https://avatars.githubusercontent.com/u/243996?v=3","gravatar_id":"","url":"https://api.github.com/users/hroptatyr","html_url":"https://github.com/hroptatyr","followers_url":"https://api.github.com/users/hroptatyr/followers","following_url":"https://api.github.com/users/hroptatyr/following{/other_user}","gists_url":"https://api.github.com/users/hroptatyr/gists{/gist_id}","starred_url":"https://api.github.com/users/hroptatyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroptatyr/subscriptions","organizations_url":"https://api.github.com/users/hroptatyr/orgs","repos_url":"https://api.github.com/users/hroptatyr/repos","events_url":"https://api.github.com/users/hroptatyr/events{/privacy}","received_events_url":"https://api.github.com/users/hroptatyr/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T08:13:33Z","updated_at":"2015-05-15T08:13:33Z","body":"Ah, sorry I misread the output."}}