From 9b95dda6bf5d51d003174defbaf70575abd44bb8 Mon Sep 17 00:00:00 2001 From: Isaac Dupree Date: Fri, 6 Jun 2008 05:23:05 +1000 Subject: [PATCH] fix help for `open` darcs-hash:20080605192305-6c1c4-ccf59a87bf7197b5d07a33d7aaeb31638aa0aa52.gz --- doc_src/open.txt | 6 +++--- share/functions/open.fish | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc_src/open.txt b/doc_src/open.txt index 4f8c78f78..0a4b89585 100644 --- a/doc_src/open.txt +++ b/doc_src/open.txt @@ -1,12 +1,12 @@ -\section open open - open file in it's default application +\section open open - open file in its default application \subsection open-synopsis Synopsis open FILES... \subsection open-description Description -The \c open command is used to open a file in it's default application. \c open is implemented using the mimedb command. +The \c open command is used to open a file in its default application. \c open is implemented using the \c xdg-open command if it exists, or else the mimedb command. \subsection open-example Example -open *.txt opens all the text files in the current directory using your systems default text editor. +open *.txt opens all the text files in the current directory using your system's default text editor. diff --git a/share/functions/open.fish b/share/functions/open.fish index 65d09049d..4b764d750 100644 --- a/share/functions/open.fish +++ b/share/functions/open.fish @@ -9,7 +9,7 @@ if not test (uname) = Darwin if count $argv >/dev/null switch $argv[1] case -h --h --he --hel --help - __fish_print_help dirh + __fish_print_help open return 0 end end