Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Better
Better
Commits
c416a45b
Commit
c416a45b
authored
May 21, 2016
by
Aral Balkan
Browse files
Removed clouds section from usage instructions and comments in save command. Progress towards
#17
.:
parent
84e608ca
Pipeline
#642
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
better/save
View file @
c416a45b
...
...
@@ -4,7 +4,7 @@
#
# Better command: save
#
# Usage: better/save <trackers/spotlight
/clouds
>/<domain> <message>
# Usage: better/save <trackers/spotlight>/<domain> <message>
#
# e.g., better/save trackers/google.com "Added a block rule."
# better/save spotlight/somedoma.in "Fixed a typo"
...
...
@@ -38,7 +38,7 @@
showUsage
(){
echo
"
\n
Usage:
\n
"
echo
" better/save <trackers/spotlight
/clouds
>/<domain> <message>
\n
"
echo
" better/save <trackers/spotlight>/<domain> <message>
\n
"
echo
"The save command commits your latest changes using the passed message"
echo
"and pushes them to the remote branch.
\n
"
exit
0
...
...
@@ -245,7 +245,7 @@ processOtherArgumentsHook(){
#
processGenericHook
(){
tooFewArgumentsError
"domain and commit message are missing"
;
}
processCategoryHook
(){
echo
"
\n
Error: Please specify a domain in the form: trackers/<domain> or spotlight/<domain>
or clouds/<domain>
."
echo
"
\n
Error: Please specify a domain in the form: trackers/<domain> or spotlight/<domain>."
showUsage
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment