diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-06-08 01:22:03 +0800 |
---|---|---|
committer | Daniel Hartwig <mandyke@gmail.com> | 2012-06-16 13:48:54 +0800 |
commit | d082e98fcf8d2809fd89d3bc2c3002f5e2e1f5a3 (patch) | |
tree | e2f728603afb6bc787e31c92b68d4cd3c5b63cef /COPYING | |
parent | 6143ba98cf6c98a492e0fe9b247d42a2f95e4167 (diff) | |
download | aptitude-d082e98fcf8d2809fd89d3bc2c3002f5e2e1f5a3.tar.gz |
Use apt's CommandLine parser
Previously aptitude was using it's own command line
parser implemented on top of getopt. Replacing this
with the standard apt class means there are no longer
subtle quirks with our parser (such as "-qq" not
being valid, when it is fine for other apt programs).
The parser is closely tied to the Configuration, and
reads options directly in to the global apt config.
Some options were tracked independently of the global
config; this change is the first part rectifying that
situation. The goal is to keep all program options,
configuration state, etc. in the global config rather
than passing state variables between functions. Many
options which previously did not have an associated
configuration item now do; some remain undocumented
for now as they are transitional.
* handle "-qq" like other apt-utils
* properly process all -o command line options (Closes: #587671)
* unknown command line options trigger an error (Closes: #434502)
* --add-user-tag-to, --remove-user-tag-from are working;
no bug reports suggests that noone has noticed they
were broken
New aliases for some command-line options:
--yes, for --assume-yes (apt-get)
--default-release, for --target-release (apt-utils)
--install-on-startup, for -i
--update-on-startup, for -u
New configuration item:
Aptitude::CmdLine::Sorting, equivalent to --sort
Other new configuration items are for internal use only
at this point.
Closes: #587671
Closes: #434502
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions