Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
awit-backstep-traceback
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
awit-backstep-traceback
awit-backstep-traceback
Commits
482890a2
Commit
482890a2
authored
Apr 01, 2017
by
Robert Spencer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add help option
parent
c4cd604e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
scripts/backstep-traceback-auto
scripts/backstep-traceback-auto
+16
-1
No files found.
scripts/backstep-traceback-auto
View file @
482890a2
...
...
@@ -17,13 +17,28 @@
#set -e -x
function
show_help
{
cat
<<-
EOF
$0
[-hv] [-o lv-name] [daily|weekly]
-h Show this help.
-v Show verbose debug information & set debug options.
-o Only do a backup of the specified lv.
EOF
}
export
PATH
=
"
$PATH
:/sbin:/usr/sbin"
# Parse options
OPTIND
=
1
while
getopts
":o:v"
OPTION
while
getopts
":
h
o:v"
OPTION
do
case
"
$OPTION
"
in
h
)
show_help
exit
0
;;
o
)
ONLY
=
"
$OPTARG
"
;;
...
...
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