Commit e958c4d3 authored by Pierre-Yves Fourmond's avatar Pierre-Yves Fourmond

Make version the last command in help

parent 564b23f2
......@@ -441,8 +441,8 @@ To get help of `liar` usage, simply enter:
install NAME FILE_PATH Install a software packaged in the archive FILE_PATH into the folder DESTINATION under the name NAME.
list List installed software.
remove NAMES... Remove the software(s) named NAMES.
version Print the version of liar.
upgrade Upgrade liar.
version Print the version of liar.
With `-v` option, `liar` help output also includes sample commands:
......@@ -552,13 +552,6 @@ When removing a software, a confirmation is asked to the user. This confirmation
The remove command can be used with the general options described below.
#### version
To display the version of `liar` being used, enter:
$ liar version
liar version 0.1
#### upgrade
The upgrade command is for development purposes and can only be used when you have installed the current developement version.
......@@ -573,6 +566,13 @@ For non-root installations:
$ liar upgrade
#### version
To display the version of `liar` being used, enter:
$ liar version
liar version 0.1
### Options and parameters
Now that we have seen which commands `liar` implements, let's see the options they can use, and the parameters they need.
......
......@@ -49,8 +49,8 @@ Usage: $LIAR [OPTIONS...] COMMAND [PARAMETERS...]
install NAME FILE_PATH Install a software packaged in the archive FILE_PATH into the folder DESTINATION under the name NAME.
list List installed software.
remove NAMES... Remove the software(s) named NAMES.
version Print the version of $LIAR.
upgrade Upgrade $LIAR.
version Print the version of $LIAR.
EOF
if [ -n "$VERBOSE" ]; then
cat <<EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment