Add -y/--assume-yes option to install (#450) (#467)

This commit is contained in:
clayton craft 2017-08-26 08:50:04 -07:00 committed by Oliver Smith
parent ac91337cf1
commit 3942a06a2d
2 changed files with 8 additions and 0 deletions

View file

@ -111,6 +111,11 @@ def arguments():
action="store_true")
parser.add_argument("-w", "--work", help="folder where all data"
" gets stored (chroots, caches, built packages)")
parser.add_argument("-y", "--assume-yes", help="Assume 'yes' to all"
" question prompts. WARNING: this option will"
" cause normal 'are you sure?' prompts to be"
" disabled!",
action="store_true")
# Logging
parser.add_argument("-l", "--log", dest="log", default=None,