Fix doc about the debug file location

This commit is contained in:
Frederic Junod 2017-07-08 08:11:52 +02:00
parent b22356d52b
commit 1252a548a0
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ If errors occur, you should see them in the i3bar itself. If that does not work,
$ ./bumblebee-status -d -m <list of modules> $ ./bumblebee-status -d -m <list of modules>
``` ```
This will create a file called `debug.log` in the same directory as the executable `bumblebee-status`. This will create a file called `~/bumblebee-status-debug.log` by default. The file name can be changed by using the `-f` or `--logfile` option.
# Required Modules # Required Modules

View file

@ -16,7 +16,7 @@ MODULE_HELP = "Specify a space-separated list of modules to load. The order of t
THEME_HELP = "Specify the theme to use for drawing modules" THEME_HELP = "Specify the theme to use for drawing modules"
PARAMETER_HELP = "Provide configuration parameters in the form of <module>.<key>=<value>" PARAMETER_HELP = "Provide configuration parameters in the form of <module>.<key>=<value>"
LIST_HELP = "Display a list of either available themes or available modules along with their parameters." LIST_HELP = "Display a list of either available themes or available modules along with their parameters."
DEBUG_HELP = "Enable debug log ('debug.log' located in the same directory as the bumblebee-status executable)" DEBUG_HELP = "Enable debug log, This will create '~/bumblebee-status-debug.log' by default, can be changed with the '-f' option"
class print_usage(argparse.Action): class print_usage(argparse.Action):
def __init__(self, option_strings, dest, nargs=None, **kwargs): def __init__(self, option_strings, dest, nargs=None, **kwargs):