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
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
LosHawlos_dbtest.py
RunAllTests.py
runtest.sh 6883: non-Western fonts broken in PS reports 2013-08-06 22:34:54 +00:00
tools.sh