History

use two dashes for url as command line option

Stephen Birarda committed 12 years ago

Commit eb7ee361 parent bd4a3251 file · +2 −2Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -304,8 +304,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 303 unmodified lines
304304 connect(&addressManager, &AddressManager::possibleDomainChangeRequired,
305305 this, &Application::changeDomainHostname);
306306
307− // when -url in command line, teleport to location
308− addressManager.handleLookupString(getCmdOption(argc, constArgv, "-url"));
307+ // when --url in command line, teleport to location
308+ addressManager.handleLookupString(getCmdOption(argc, constArgv, "--url"));
309309
310310 _settings = new QSettings(this);
311311 _numChangedSettings = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t