From 1008f630fbb854849ab8debb128d09b450ba7e16 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 10 Oct 2011 22:45:17 +0200 Subject: fixed some documentation --- README | 5 +++-- doc/ranger.1 | 7 ++++--- doc/ranger.pod | 7 ++++--- ranger/core/helper.py | 2 +- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README b/README index ba60c53e..7e89be82 100644 --- a/README +++ b/README @@ -7,8 +7,9 @@ open your files with. This file describes ranger and how to get it to run. For instructions on the usage, please read the man page. See doc/HACKING for development specific -information. For configuration, check the sample files that ranger creates -in your ~/.config/ranger directory. +information. For configuration, check the files in ranger/defaults/. They +are usually installed to /usr/lib/python*/site-packages/ranger/defaults/ +and can be obtained with ranger's --copy-config option. A note to packagers: Versions meant for packaging are listed in the changelog on the website. diff --git a/doc/ranger.1 b/doc/ranger.1 index ea816aa3..2177431a 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.5.0" "10/08/2011" "ranger manual" +.TH RANGER 1 "ranger-1.5.0" "10/10/2011" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -146,8 +146,9 @@ open your files with. .PP This manual mainly contains information on the usage of ranger. Refer to the \&\fI\s-1README\s0\fR for install instructions and to \fIdoc/HACKING\fR for development -specific information. For configuration, check the sample files that ranger -created in your \fI~/.config/ranger\fR directory. +specific information. For configuration, see the files in \fIranger/defaults\fR. +They are usually installed to \fI/usr/lib/python*/site\-packages/ranger/defaults\fR +and can be obtained with ranger's \-\-copy\-config option. .PP Inside ranger, you can press \fI1?\fR for a list of key bindings, \fI2?\fR for a list of commands and \fI3?\fR for a list of settings. diff --git a/doc/ranger.pod b/doc/ranger.pod index a908e1e1..ec272de1 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -24,8 +24,9 @@ open your files with. This manual mainly contains information on the usage of ranger. Refer to the F for install instructions and to F for development -specific information. For configuration, check the sample files that ranger -created in your F<~/.config/ranger> directory. +specific information. For configuration, see the files in F. +They are usually installed to F +and can be obtained with ranger's --copy-config option. Inside ranger, you can press I<1?> for a list of key bindings, I<2?> for a list of commands and I<3?> for a list of settings. @@ -64,7 +65,7 @@ write the last visited directory into I. Create copies of the default configuration files in your local configuration directory. Existing ones will not be overwritten. Possible values: I, -I, I, I, I, I. +I, I, I, I, I. =item B<--list-unused-keys> diff --git a/ranger/core/helper.py b/ranger/core/helper.py index 5c93a734..45db80e9 100644 --- a/ranger/core/helper.py +++ b/ranger/core/helper.py @@ -40,7 +40,7 @@ def parse_arguments(): help="don't touch/require any config files. ") parser.add_option('--copy-config', type='string', metavar='which', help="copy the default configs to the local config directory. " - "Possible values: all, apps, commands, keys, options, scope") + "Possible values: all, rc, apps, commands, options, scope") parser.add_option('--fail-unless-cd', action='store_true', help="experimental: return the exit code 1 if ranger is" \ "used to run a file (with `ranger filename`)") -- cgit 1.4.1-2-gfad0