Fix insufficient arguments
This commit is contained in:
parent
a0731d76ff
commit
dcf481e11a
@ -78,5 +78,6 @@ def clean_hostname(host):
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) < 2:
|
||||
print('Usage: {} host1 [host2] [host3] ...'.format(sys.argv[0]))
|
||||
sys.exit(0)
|
||||
|
||||
show_result(sys.argv[1:])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user