{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/fleet/issues/1453","repository_url":"https://api.github.com/repos/coreos/fleet","labels_url":"https://api.github.com/repos/coreos/fleet/issues/1453/labels{/name}","comments_url":"https://api.github.com/repos/coreos/fleet/issues/1453/comments","events_url":"https://api.github.com/repos/coreos/fleet/issues/1453/events","html_url":"https://github.com/coreos/fleet/issues/1453","id":137842570,"number":1453,"title":"usability: fleetctl / fleetd help output with double hyphens","user":{"login":"kayrus","id":4047483,"avatar_url":"https://avatars.githubusercontent.com/u/4047483?v=3","gravatar_id":"","url":"https://api.github.com/users/kayrus","html_url":"https://github.com/kayrus","followers_url":"https://api.github.com/users/kayrus/followers","following_url":"https://api.github.com/users/kayrus/following{/other_user}","gists_url":"https://api.github.com/users/kayrus/gists{/gist_id}","starred_url":"https://api.github.com/users/kayrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayrus/subscriptions","organizations_url":"https://api.github.com/users/kayrus/orgs","repos_url":"https://api.github.com/users/kayrus/repos","events_url":"https://api.github.com/users/kayrus/events{/privacy}","received_events_url":"https://api.github.com/users/kayrus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/fleet/labels/area/usability","name":"area/usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/coreos/fleet/labels/low%20hanging%20fruit","name":"low hanging fruit","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/coreos/fleet/milestones/29","html_url":"https://github.com/coreos/fleet/milestones/v0.13.0","labels_url":"https://api.github.com/repos/coreos/fleet/milestones/29/labels","id":1515019,"number":29,"title":"v0.13.0","description":"","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":2,"state":"open","created_at":"2016-01-19T11:57:47Z","updated_at":"2016-03-02T11:03:36Z","due_on":"2016-03-21T23:00:00Z","closed_at":null},"comments":2,"created_at":"2016-03-02T11:03:16Z","updated_at":"2016-03-02T11:32:13Z","closed_at":null,"body":"According to this [issue](https://github.com/coreos/docs/issues/650) `fleetctl -%someinvalidcommand%` should print commands list with the double hyphens.\r\n\r\n```sh\r\n$ fleetd -foo\r\nflag provided but not defined: -foo\r\nfleetd is the server component of fleet, a simple orchestration system for scheduling systemd units in a cluster.\r\nUsage of fleetd:\r\n  -config=\"\": Path to config file. Fleet will look for a config at /etc/fleet/fleet.conf by default.\r\n  -version=false: Print the version and exit\r\n$ fleetctl --foo\r\nflag provided but not defined: -foo\r\nUsage of fleetctl:\r\n  -ca-file=\"\": Location of TLS CA file used to secure communication with the fleet API or etcd\r\n  -cert-file=\"\": Location of TLS cert file used to secure communication with the fleet API or etcd\r\n  -debug=false: Print out more debug information to stderr\r\n  -driver=\"API\": Adapter used to execute fleetctl commands. Options include \"API\" and \"etcd\".\r\n  -endpoint=\"unix:///var/run/fleet.sock\": Location of the fleet API if --driver=API. Alternatively, if --driver=etcd, location of the etcd API.\r\n  -etcd-cafile=\"\": hidden\r\n  -etcd-certfile=\"\": hidden\r\n  -etcd-key-prefix=\"/_coreos.com/fleet/\": Keyspace for fleet data in etcd (development use only!)\r\n  -etcd-keyfile=\"\": hidden\r\n  -experimental-api=true: hidden\r\n  -h=false: Print usage information and exit\r\n  -help=false: Print usage information and exit\r\n  -key-file=\"\": Location of TLS key file used to secure communication with the fleet API or etcd\r\n  -known-hosts-file=\"~/.fleetctl/known_hosts\": File used to store remote machine fingerprints. Ignored if strict host key checking is disabled.\r\n  -request-timeout=3: Amount of time in seconds to allow a single request before considering it failed.\r\n  -ssh-timeout=10: Amount of time in seconds to allow for SSH connection initialization before failing.\r\n  -ssh-username=\"core\": Username to use when connecting to CoreOS instance.\r\n  -strict-host-key-checking=true: Verify host keys presented by remote machines before initiating SSH connections.\r\n  -tunnel=\"\": Establish an SSH tunnel through the provided address for communication with fleet and etcd.\r\n  -version=false: Print the version and exit\r\n```\r\nrelates to #1445 https://github.com/coreos/etcd/issues/4595"},"comment":{"url":"https://api.github.com/repos/coreos/fleet/issues/comments/191196035","html_url":"https://github.com/coreos/fleet/issues/1453#issuecomment-191196035","issue_url":"https://api.github.com/repos/coreos/fleet/issues/1453","id":191196035,"user":{"login":"kayrus","id":4047483,"avatar_url":"https://avatars.githubusercontent.com/u/4047483?v=3","gravatar_id":"","url":"https://api.github.com/users/kayrus","html_url":"https://github.com/kayrus","followers_url":"https://api.github.com/users/kayrus/followers","following_url":"https://api.github.com/users/kayrus/following{/other_user}","gists_url":"https://api.github.com/users/kayrus/gists{/gist_id}","starred_url":"https://api.github.com/users/kayrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayrus/subscriptions","organizations_url":"https://api.github.com/users/kayrus/orgs","repos_url":"https://api.github.com/users/kayrus/repos","events_url":"https://api.github.com/users/kayrus/events{/privacy}","received_events_url":"https://api.github.com/users/kayrus/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T11:32:13Z","updated_at":"2016-03-02T11:32:13Z","body":"@reneengelhard same issue with subhelp:\r\n\r\n```sh\r\n$ fleetctl list-unit-files --foo\r\nflag provided but not defined: -foo\r\nUsage:\r\n  -fields=\"unit,hash,dstate,state,target\": Columns to print for each Unit file. Valid fields are \"desc,dstate,global,hash,state,target,tmachine,unit\"\r\n  -full=false: Do not ellipsize fields on output\r\n  -no-legend=false: Do not print a legend (column headers)\r\nflag provided but not defined: -foo\r\n```"}}