{"action":"opened","issue":{"url":"https://api.github.com/repos/QupZilla/qupzilla/issues/2020","repository_url":"https://api.github.com/repos/QupZilla/qupzilla","labels_url":"https://api.github.com/repos/QupZilla/qupzilla/issues/2020/labels{/name}","comments_url":"https://api.github.com/repos/QupZilla/qupzilla/issues/2020/comments","events_url":"https://api.github.com/repos/QupZilla/qupzilla/issues/2020/events","html_url":"https://github.com/QupZilla/qupzilla/issues/2020","id":163263854,"number":2020,"title":"Add short command line for more options","user":{"login":"spaeps","id":1037160,"avatar_url":"https://avatars.githubusercontent.com/u/1037160?v=3","gravatar_id":"","url":"https://api.github.com/users/spaeps","html_url":"https://github.com/spaeps","followers_url":"https://api.github.com/users/spaeps/followers","following_url":"https://api.github.com/users/spaeps/following{/other_user}","gists_url":"https://api.github.com/users/spaeps/gists{/gist_id}","starred_url":"https://api.github.com/users/spaeps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaeps/subscriptions","organizations_url":"https://api.github.com/users/spaeps/orgs","repos_url":"https://api.github.com/users/spaeps/repos","events_url":"https://api.github.com/users/spaeps/events{/privacy}","received_events_url":"https://api.github.com/users/spaeps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-30T20:49:25Z","updated_at":"2016-06-30T20:49:25Z","closed_at":null,"body":"The switch to [**QCommandLineParser**](http://doc.qt.io/qt-5/qcommandlineparser.html) forced the use of single letter for single dash command line.\r\nSo, short options like -pb for private browsing are not allowed anymore.\r\n\r\nSince using more than a letter for short options is not possible anymore, i suggest to introduce single letter short options for any (or the most used/complex) command line option.\r\n\r\nEx.:\r\n\r\n```\r\nOptions:\r\n  -h, --help                   Displays this help.\r\n  -v, --version                Displays version information.\r\n  -a, --authors                Displays author information.\r\n  -p, --profile <profileName>  Starts with specified profile.\r\n  -e, --no-extensions          Starts without extensions.\r\n  -i, --private-browsing       Starts private browsing.\r\n  -o, --portable               Starts in portable mode.\r\n  -r, --no-remote              Starts new browser instance.\r\n  -t, --new-tab                Opens new tab.\r\n  -w, --new-window             Opens new window.\r\n  -d, --download-manager       Opens download manager.\r\n  -c, --current-tab <URL>      Opens URL in current tab.\r\n  -u, --open-window <URL>      Opens URL in new window.\r\n  -f, --fullscreen             Toggles fullscreen.\r\n\r\n```\r\nSince there are words starting with the same letter, a less intuitive but working one have to be choosen.\r\nSo, using bold letters to clarify the choice:\r\n**h**elp\r\n**v**ersion\r\n**a**uthors\r\n**p**rofile\r\nno-**e**xtensions\r\npr**i**vate-browsing\r\np**o**rtable\r\nno-**r**emote\r\nnew-**t**ab\r\nnew-**w**indow\r\n**d**ownload-manager\r\n**c**urrent-tab <URL>\r\nopen-window <**U**RL>\r\n**f**ullscreen\r\n\r\nUppercase letters can be used too."}}
{"actor":{"display_login":"spaeps"}}