fix: Update argument parser description for clarity
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ def parse_ansible_inventory(inventory_file):
|
|||||||
|
|
||||||
return inventory_dict
|
return inventory_dict
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description='Run a command on a group of hosts')
|
parser = argparse.ArgumentParser(description='Get host system ID')
|
||||||
parser.add_argument('group', type=str, help='Group of hosts to run the command on')
|
parser.add_argument('group', type=str, help='Group of hosts to run the command on')
|
||||||
parser.add_argument('host', type=str, help='Host to run the command on', default=None, nargs='?')
|
parser.add_argument('host', type=str, help='Host to run the command on', default=None, nargs='?')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|||||||
Reference in New Issue
Block a user