Commit 8bcd4751 authored by Simon Redman's avatar Simon Redman

Fix error when trying to use --stop flag of frr_configurator

parent 1fb8f0b7
......@@ -247,7 +247,7 @@ if __name__ == "__main__":
help="Path to the NetJSON file to parse")
parser.add_argument("--username", action='store', type=str, default=getpass.getuser(),
help="Username to use on all hosts. Defaults to current user's username")
parser.add_argument("--stop", action='store', type=bool, default=False,
parser.add_argument("--stop", action='store_true',
help="Stop all services (after writing config files)")
args = parser.parse_args()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment