From 96290f9e2ec4d86520fc4b85a698e0fea0302866 Mon Sep 17 00:00:00 2001 From: Jedrzej Nowak Date: Mon, 7 Sep 2015 15:56:36 +0200 Subject: [PATCH] Make -n required for snapshot restore --- snapshotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshotter.py b/snapshotter.py index 3c828096..64f986be 100755 --- a/snapshotter.py +++ b/snapshotter.py @@ -54,7 +54,7 @@ def take(n): click.echo(snap) -@click.option('-n') +@click.option('-n', required=True) @cli.command() def restore(n): vms = get_vagrant_vms()