Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8596edbe
Commit
8596edbe
authored
Aug 01, 2007
by
Robert Ricci
Browse files
Make the -R (--root) option to the clean operation uppercase, to make
consistent with the version for the sync option
parent
12471e53
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/loghole.in
View file @
8596edbe
...
...
@@ -2046,7 +2046,7 @@ def do_clean(args):
# Parse action-specific options and arguments.
try
:
opts
,
args
=
getopt
.
getopt
(
args
,
"fne
r
"
,
[
opts
,
args
=
getopt
.
getopt
(
args
,
"fne
R
"
,
[
"force"
,
"nodes"
,
"experiment"
,
"root"
,
])
for
opt
,
val
in
opts
:
if
opt
in
(
"-f"
,
"--force"
):
...
...
@@ -2064,7 +2064,7 @@ def do_clean(args):
confirm_msg
=
(
"Are you sure you want to remove log files "
"from the experiment log directory? [y/N] "
)
pass
elif
opt
in
(
"-
r
"
,
"--root"
):
elif
opt
in
(
"-
R
"
,
"--root"
):
as_root
=
True
pass
pass
...
...
Write
Preview
Supports
Markdown
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