summaryrefslogtreecommitdiff
path: root/man/update-alternatives.8
AgeCommit message (Collapse)AuthorFilesLines
2015-02-08man: Move man pages from section 8 to 1Guillem Jover1-515/+0
These programs were moved from …/sbin/ to …/bin/ but the man pages did not follow suit.
2014-10-06u-a(8): Fix prerm invocation argumentsGuillem Jover1-1/+1
It is usually called in prerm's remove and deconfigure, not install. Closes: #761025 Reported-by: jre <jre.winesim@gmail.com>
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2013-04-04man: Move EXIT STATUS section before ENVIRONMENTGuillem Jover1-9/+9
2013-04-04man: Remove BUGS sections containing obvious or misplaced informationGuillem Jover1-8/+0
The BUGS section in u-a(8) just contains obvious instructions. The one in deb-substvars(5) comes from dpkg-source(1), and got wrongly carried over during the big dpkg-source(1) man page split.
2013-03-18man: Do not use header when format or field is meantGuillem Jover1-1/+1
2013-03-18man: Remove unneeded double quotes in .SH headingsGuillem Jover1-3/+3
2012-10-13u-a(8): Update --query format and examples to match implementationGuillem Jover1-14/+24
Missed in commit 27e75257edb3bf98b83b421f4f5d03e8d8da9856.
2012-06-30Switch some words to their american spellingGuillem Jover1-1/+1
2012-02-07man: Drop AUTHORS sections in favor of comments in sourceRaphaël Hertzog1-21/+24
This section usually contains copyright notices which can be updated quite often and thus generate useless work for translators. Furthermore this section was often confusing by mixing authors of the documented software and authors of the manual page. So instead of keeping this in the generated manual page, we move this information where it belongs, in a file comment header above the license information. This commit adds the copyright & license statements to all manual pages in comments at the top of each file. Information from the git history has been used where there was no pre-existing copyright statements.
2011-08-20man: Use minus signs and hyphens consistentlyGuillem Jover1-4/+4
Any string that can be copy & pasted into control files or into a terminal, for example, needs to correctly use minus signs (escaped dashes), instead of the default hyphen.
2011-07-16update-alternatives: clarify role of --force concerning removal of linksRaphaël Hertzog1-2/+2
Modify update-alternatives --remove-all to remove files installed in place of links if --force is used. Add the corresponding non-regression test.
2011-07-07man: Correctly format text with bold and italicsGuillem Jover1-8/+8
2011-07-07man: Use italics or bold instead of surrounding the text with <>Guillem Jover1-7/+7
Using <> to delimit parts of text is necessary when using plain text output, but not when we have some formatting available around, which is the case with the man pages, but not with the program output.
2011-07-07man: Use [option...] instead of [options] and friendsGuillem Jover1-3/+2
2011-04-29man: Clarify “EXIT STATUS” sections by using bold and a tableGuillem Jover1-3/+5
Change the status codes to bold and list them with a table to makes it easier to visually distinguish them.
2011-03-04man: Add missing quotes and escapingGuillem Jover1-2/+2
2011-01-16Propagate --admindir to programs run from maintainer scriptsGuillem Jover1-0/+6
Always set DPKG_ADMINDIR from dpkg so that all subprocesses inherit the variable and there's no possible security risk from a user process setting the variable to write onto a user controlled area. As usual, the order in which the admindir value is overridden is the following: built-in default, environment variable and command line option. Closes: #97076 Suggested-by: Brendan O'Dea <bod@debian.org>
2010-06-25man: Update u-a log file referenceGuillem Jover1-1/+1
update-alternatives has now its independent log file, reflect that in the man page.
2009-11-17man: Update modification datesGuillem Jover1-1/+1
2009-04-13Fix typos in u-a man pageGuillem Jover1-2/+3
Add a missing paragraph with heading tag. Replace reference to ‘link’ with ‘name’ in --auto. Reported-by: Helge Kreutzmann <debian@helgefjell.de>
2009-03-11u-a: Fix typo in man page (‘values’ → ‘value’)Guillem Jover1-1/+1
Introduced in commit 7277e7e87af9cf4313880f228c693aa78ad46a03. Reported-by: Helge Kreutzmann <debian@helgefjell.de>
2009-02-22update-alternatives: add --log optionRaphael Hertzog1-0/+3
This option overrides the default log file /var/log/dpkg.log. It is needed to make the update-alternatives test-suite succeed when run with fakeroot because without override the test-suite would try to write to /var/log/dpkg.log and fail. Hence adjust the test-suite accordingly.
2009-02-22update-alternatives: don't replace real files by alternative links without ↵Raphael Hertzog1-1/+6
--force update-alternatives should not replace real files by symlinks. When --install is called, the alternative link should either not exist or already be a link. It that's not the case, it will simply skip installing that link and display a warning. However if --force is given, it will (try to) replace the file. Ensure that behaviour within the test suite.
2009-02-22update-alternatives: --all can be used to restore broken alternativesRaphael Hertzog1-0/+2
Since alternatives are repaired every time they are reconfigured, the user can use --all to reconfigure them all with the current choice and repair everything. Document this in the manual pages and ensure that it really works that way by returning a valid choice. Closes: #250258, #395556
2009-02-22update-alternatives: new option --set-selectionsRaphael Hertzog1-0/+5
The option --set-selections is the counterpart of --get-selections, it reads configuration on standard input and reconfigures alternatives accordingly.
2009-02-22update-alternatives: add new option --get-selectionsRaphael Hertzog1-0/+8
The new option list all master alternatives and their status in a format simple to parse. It's also a practical way to know the name of all available alternatives. Closes: #273406, #392429
2009-02-22update-alternatives: skip slave link if associated file doesn't existRaphael Hertzog1-1/+4
All slave links are optional in the sense that they are only installed if the currently associated file does exist. This allows most update-alternatives call to succeed even if the admin removed documentation files or other optional files. Closes: #143701 A message is still displayed by default in this case to warn the user that something uncommon has been detected. Adjusted the test suite to verify this behaviour.
2009-02-22update-alternatives(8): adjust vocabulary usedRaphael Hertzog1-46/+39
The vocabulary used was misleading and not really uniform. Try to standardize and make it match with the vocabulary used in the source code too. Includes minor fixes to make it match the behaviour of the current implementation.
2009-02-09update-alternatives: remove the link group together with last alternativeRaphael Hertzog1-2/+3
* scripts/update-alternatives.pl: Remove the link group when the last choice is removed, even if we are in manual mode. * man/update-alternatives.8: Update the documentation accordingly to not be as strong about not touching links in manual mode.
2009-02-09update-alternatives(8): update paragraph about --configRaphael Hertzog1-4/+5
This documentation update has been forgotten in commit c05d262a15742c82ee489031e71bd11220b137c4.
2009-02-05update-alternatives: improve --config behaviourRaphael Hertzog1-5/+9
* scripts/update-alternatives.pl: Allow --config to continue when the currently selected alternative doesn't match the only existing one. Useful to be able to recover from a broken configuration. Also offer the choice in --config mode to go back the automatic mode. Add a new --skip-auto option to combine with --all and easily review manual and broken alternatives. * man/update-alternatives.8: Update the documentation accordingly. Based on a patch by Osamu Aoki <osamu@debian.org>.
2008-08-18man/: Use a troff special character for the copyright symbolGuillem Jover1-2/+2
2008-05-11Add a --query option to update-alternatives. Closes: #336091, #441904Pierre Habouzit1-0/+76
* scripts/update-alternatives.pl: add a --query option that works like --display but outputs a machine parseable rfc822-like output. * man/update-alternatives.8: document that new option, and the associated format.
2008-01-18u-a: Remove unimplemented --test optionGuillem Jover1-4/+0
Closes: #392432, #461247
2007-07-18Man pages cleanup:Guillem Jover1-8/+8
- Unify author and copyright information formatting.
2007-07-18Man pages cleanup:Guillem Jover1-2/+2
- Unify ellipsis, argument searator, and remove redundant program name preceding the options.
2007-06-12Man pages cleanup:Guillem Jover1-2/+2
- Unify title header.
2007-03-06Reorder EXAMPLES section.Guillem Jover1-39/+27
2007-03-06Cleaning and format unification of manual pages.Guillem Jover1-86/+35
2007-01-15New man pages build system.Nicolas FRANCOIS1-0/+468