diff options
Diffstat (limited to 'chrome/tools/build/linux/chrome-wrapper')
-rwxr-xr-x | chrome/tools/build/linux/chrome-wrapper | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/tools/build/linux/chrome-wrapper b/chrome/tools/build/linux/chrome-wrapper index a2a1188..09f43ac 100755 --- a/chrome/tools/build/linux/chrome-wrapper +++ b/chrome/tools/build/linux/chrome-wrapper @@ -10,6 +10,14 @@ DESKTOP="chromium-devel" TITLE="Chromium" +usage() { + echo "$0 [--gdb] [--help] [--man-page] [--] [chrome-options]" + echo + echo " --gdb Start within gdb" + echo " --help This help screen" + echo " --man-page Open the man page in the tree" +} + # Check to see if there is a desktop file of the given name. exists_desktop_file() { # Build a search list from $XDG_DATA_HOME and $XDG_DATA_DIRS, the latter @@ -139,6 +147,11 @@ while [ "$#" -gt 0 ]; do break ;; "--gdb") CMD_PREFIX="gdb --args" ;; + "--help") + usage + exit 0 ;; + "--man-page") + exec man "$HERE/../../chrome/app/resources/manpage.1.in" ;; *) ARGS=( "${ARGS[@]}" "$1" ) ;; esac |