gramps/test
Vassilii Khachaturov 62854bb089 7016: new cmdline switches -y/--yes and -q/--quiet
Add to -h output new text about -y and -q

impex.sh switched to use --yes and --quiet

Refactor ArgHandler to reuse User object

ArgHandler now uses user.prompt
No longer custom code duplicating user.prompt functionality

This dropped support for English yes/no and prefixes in the
"OK to overwrite?", as User.prompt allows pressing "Enter"
to accept by default, and everything else except
verbatim accept choice will be treated as reject.

cli.user.User.prompt now supports treating EOF as a reject

prompt message reformatted: added newline after title

Previously, code
	'-q' in ('--qml')
returned True, which was not what ArgParser meant.
Changed the rhs of in to [] from () to avoid this for every case
in ArgParser.parse in the future as well.

Tests run: the new UT added and impex.sh

svn: r22916
2013-08-28 09:24:26 +00:00
..
GrampsLogger Move rotate handler test 2013-07-31 16:48:50 +00:00
dates.sh
det_ancestor_report.sh
det_descendant_report.sh
impex.sh 7016: new cmdline switches -y/--yes and -q/--quiet 2013-08-28 09:24:26 +00:00
LosHawlos_bsddbtest.py Reviving RunAllTests.py on trunk 2013-07-24 06:30:59 +00:00
LosHawlos_dbtest.py Reviving RunAllTests.py on trunk 2013-07-24 06:30:59 +00:00
RunAllTests.py Fix bug in unit test script 2013-07-29 16:52:58 +00:00
runtest.sh 6883: non-Western fonts broken in PS reports 2013-08-06 22:34:54 +00:00
tools.sh