{"action":"created","issue":{"url":"https://api.github.com/repos/tj/commander.js/issues/395","repository_url":"https://api.github.com/repos/tj/commander.js","labels_url":"https://api.github.com/repos/tj/commander.js/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/tj/commander.js/issues/395/comments","events_url":"https://api.github.com/repos/tj/commander.js/issues/395/events","html_url":"https://github.com/tj/commander.js/issues/395","id":68537253,"number":395,"title":"short switches don't take numeric arguments","user":{"login":"Sequoia","id":317498,"avatar_url":"https://avatars.githubusercontent.com/u/317498?v=3","gravatar_id":"","url":"https://api.github.com/users/Sequoia","html_url":"https://github.com/Sequoia","followers_url":"https://api.github.com/users/Sequoia/followers","following_url":"https://api.github.com/users/Sequoia/following{/other_user}","gists_url":"https://api.github.com/users/Sequoia/gists{/gist_id}","starred_url":"https://api.github.com/users/Sequoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sequoia/subscriptions","organizations_url":"https://api.github.com/users/Sequoia/orgs","repos_url":"https://api.github.com/users/Sequoia/repos","events_url":"https://api.github.com/users/Sequoia/events{/privacy}","received_events_url":"https://api.github.com/users/Sequoia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-04-15T00:50:45Z","updated_at":"2016-11-17T11:48:37Z","closed_at":null,"body":"in minimist (or `tail` for that matter), `-n10` sets `n` (or the switch it aliases) to `10`.\n\nA similar call with `commander` sets `n` (or the switch it aliases) to `-1`. This seems to mean a minimist to commander rewrite forces a CLI change, i.e. a cronjob that previously called `foo -n10` will stop functioning properly if `foo` is upgraded from the minimist version to the commander version.\n\nIs there a workaround? Am I mistaken?\n"},"comment":{"url":"https://api.github.com/repos/tj/commander.js/issues/comments/261227421","html_url":"https://github.com/tj/commander.js/issues/395#issuecomment-261227421","issue_url":"https://api.github.com/repos/tj/commander.js/issues/395","id":261227421,"user":{"login":"TheRoSS","id":1506512,"avatar_url":"https://avatars.githubusercontent.com/u/1506512?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRoSS","html_url":"https://github.com/TheRoSS","followers_url":"https://api.github.com/users/TheRoSS/followers","following_url":"https://api.github.com/users/TheRoSS/following{/other_user}","gists_url":"https://api.github.com/users/TheRoSS/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRoSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRoSS/subscriptions","organizations_url":"https://api.github.com/users/TheRoSS/orgs","repos_url":"https://api.github.com/users/TheRoSS/repos","events_url":"https://api.github.com/users/TheRoSS/events{/privacy}","received_events_url":"https://api.github.com/users/TheRoSS/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T11:48:37Z","updated_at":"2016-11-17T11:48:37Z","body":"This is a bug in the Command.prototype.normalize method\r\nIt is him who splits -c2345 option with parameter to set of no parameter options -c -2 -3 -4 -5\r\nThen parser behaves correctly and takes \"correct\" parameter for option \"c\""}}
{"actor":{"display_login":"TheRoSS"}}