mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
fix issue 2710, print usage when run renergy node without option
This commit is contained in:
parent
a761e64c0c
commit
61f1fd37f9
@ -151,6 +151,8 @@ sub parse_args {
|
||||
if ($::VERBOSE) {
|
||||
$opt->{verbose} = 1;
|
||||
}
|
||||
} else {
|
||||
return (1, &usage());
|
||||
}
|
||||
|
||||
# if the request has node range
|
||||
|
Loading…
x
Reference in New Issue
Block a user