diff --git a/USAGE.md b/USAGE.md index 62f2ea6..a7bbe72 100644 --- a/USAGE.md +++ b/USAGE.md @@ -90,42 +90,45 @@ Usage of ./i2p.plugins.tor-manager: Verbose output -watch-profiles string Monitor and control these Firefox profiles. Temporarily Unused. + +Available Languages: + + - mk + - en-US + - id + - ka + - ko + - ca + - hu - lt + - ru + - ja + - ms - my - - pt-BR + - tr + - fr + - ga-IE + - is + - it + - vi + - ar - cs - da - - fr - - he - - zh-CN - - en-US - - es-AR - - id - - sv-SE - - ar - - ca - - vi - - zh-TW + - pt-BR - de - - fa - - ko - - ru - - mk - - nb-NO - - nl - el - - ga-IE - - it - - ja - - is + - es-ES - pl - ro - th - - es-ES - - hu - - ka - - ms - - tr + - zh-CN + - he + - nb-NO + - nl + - sv-SE + - es-AR + - fa + - zh-TW Usage: ./firefox.real [ options ... ] [URL] where options include: diff --git a/main.go b/main.go index ad762db..1a049c0 100644 --- a/main.go +++ b/main.go @@ -185,7 +185,7 @@ func main() { fmt.Printf("Options:\n") fmt.Printf("\n") usage() - log.Printf("Available Languages:\n") + fmt.Printf("\nAvailable Languages:\n\n") for _, l := range tbget.Languages() { fmt.Printf(" - %s\n", l) } diff --git a/usage.html b/usage.html index 3e98a9a..d4328ca 100644 --- a/usage.html +++ b/usage.html @@ -92,102 +92,105 @@ Verbose output -watch-profiles string Monitor and control these Firefox profiles. Temporarily Unused. - - lt - - my - - pt-BR - - cs - - da - - fr - - he - - zh-CN - - en-US - - es-AR - - id - - sv-SE - - ar - - ca - - vi - - zh-TW - - de - - fa - - ko - - ru - - mk - - nb-NO - - nl - - el - - ga-IE - - it - - ja - - is + +Available Languages: + + - mk + - en-US + - id + - ka + - ko + - ca + - hu + - lt + - ru + - ja + - ms + - my + - tr + - fr + - ga-IE + - is + - it + - vi + - ar + - cs + - da + - pt-BR + - de + - el + - es-ES - pl - ro - th - - es-ES - - hu - - ka - - ms - - tr -Usage: ./firefox.real [ options ... ] [URL] - where options include: - -X11 options - --display=DISPLAY X display to use - --sync Make X calls synchronous - --g-fatal-warnings Make all warnings fatal - -Firefox options - -h or --help Print this message. - -v or --version Print Firefox version. - --full-version Print Firefox version, build and platform build ids. - -P <profile> Start with <profile>. - --profile <path> Start with profile at <path>. - --migration Start with migration wizard. - --ProfileManager Start with ProfileManager. - --no-remote (default) Do not accept or send remote commands; implies - --new-instance. - --allow-remote Accept and send remote commands. - --new-instance Open new instance, not a new window in running instance. - --safe-mode Disables extensions and themes for this session. - --MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable, - overrides it. - --MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable, - overrides it. If MOZ_LOG_FILE is not specified as an - argument or as an environment variable, logging will be - written to stdout. - --headless Run without a GUI. - --browser Open a browser window. - --new-window <url> Open <url> in a new window. - --new-tab <url> Open <url> in a new tab. - --private-window <url> Open <url> in a new private window. - --preferences Open Preferences dialog. - --screenshot [<path>] Save screenshot to <path> or in working directory. - --window-size width[,height] Width and optionally height of screenshot. - --search <term> Search <term> with your default search engine. - --setDefaultBrowser Set this app as the default browser. - --first-startup Run post-install actions before opening a new window. - --kiosk Start the browser in kiosk mode. - --jsconsole Open the Browser Console. - --jsdebugger [<path>] Open the Browser Toolbox. Defaults to the local build - but can be overridden by a firefox path. - --wait-for-jsdebugger Spin event loop until JS debugger connects. - Enables debugging (some) application startup code paths. - Only has an effect when `--jsdebugger` is also supplied. - --devtools Open DevTools on initial load. - --start-debugger-server [ws:][ <port> | <path> ] Start the devtools server on - a TCP port or Unix domain socket path. Defaults to TCP port - 6000. Use WebSocket protocol if ws: prefix is specified. - --recording <file> Record drawing for a given URL. - --recording-output <file> Specify destination file for a drawing recording. - --remote-debugging-port [<port>] Start the Firefox remote agent, - which is a low-level debugging interface based on the CDP protocol. - Defaults to listen on localhost:9222. - -Tor Browser Script Options - --verbose Display Tor and Firefox output in the terminal - --log [file] Record Tor and Firefox output in file (default: tor-browser.log) - --detach Detach from terminal and run Tor Browser in the background. - --register-app Register Tor Browser as a desktop app for this user - --unregister-app Unregister Tor Browser as a desktop app for this user + - zh-CN + - he + - nb-NO + - nl + - sv-SE + - es-AR + - fa + - zh-TW +Usage: ./firefox.real [ options ... ] [URL] + where options include: + +X11 options + --display=DISPLAY X display to use + --sync Make X calls synchronous + --g-fatal-warnings Make all warnings fatal + +Firefox options + -h or --help Print this message. + -v or --version Print Firefox version. + --full-version Print Firefox version, build and platform build ids. + -P <profile> Start with <profile>. + --profile <path> Start with profile at <path>. + --migration Start with migration wizard. + --ProfileManager Start with ProfileManager. + --no-remote (default) Do not accept or send remote commands; implies + --new-instance. + --allow-remote Accept and send remote commands. + --new-instance Open new instance, not a new window in running instance. + --safe-mode Disables extensions and themes for this session. + --MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable, + overrides it. + --MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable, + overrides it. If MOZ_LOG_FILE is not specified as an + argument or as an environment variable, logging will be + written to stdout. + --headless Run without a GUI. + --browser Open a browser window. + --new-window <url> Open <url> in a new window. + --new-tab <url> Open <url> in a new tab. + --private-window <url> Open <url> in a new private window. + --preferences Open Preferences dialog. + --screenshot [<path>] Save screenshot to <path> or in working directory. + --window-size width[,height] Width and optionally height of screenshot. + --search <term> Search <term> with your default search engine. + --setDefaultBrowser Set this app as the default browser. + --first-startup Run post-install actions before opening a new window. + --kiosk Start the browser in kiosk mode. + --jsconsole Open the Browser Console. + --jsdebugger [<path>] Open the Browser Toolbox. Defaults to the local build + but can be overridden by a firefox path. + --wait-for-jsdebugger Spin event loop until JS debugger connects. + Enables debugging (some) application startup code paths. + Only has an effect when `--jsdebugger` is also supplied. + --devtools Open DevTools on initial load. + --start-debugger-server [ws:][ <port> | <path> ] Start the devtools server on + a TCP port or Unix domain socket path. Defaults to TCP port + 6000. Use WebSocket protocol if ws: prefix is specified. + --recording <file> Record drawing for a given URL. + --recording-output <file> Specify destination file for a drawing recording. + --remote-debugging-port [<port>] Start the Firefox remote agent, + which is a low-level debugging interface based on the CDP protocol. + Defaults to listen on localhost:9222. + +Tor Browser Script Options + --verbose Display Tor and Firefox output in the terminal + --log [file] Record Tor and Firefox output in file (default: tor-browser.log) + --detach Detach from terminal and run Tor Browser in the background. + --register-app Register Tor Browser as a desktop app for this user + --unregister-app Unregister Tor Browser as a desktop app for this user