From 1252a548a0749688b04240d5c9ed852eb7916d38 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Sat, 8 Jul 2017 08:11:52 +0200 Subject: [PATCH] Fix doc about the debug file location --- README.md | 2 +- bumblebee/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25a792b..9b77101 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ If errors occur, you should see them in the i3bar itself. If that does not work, $ ./bumblebee-status -d -m ``` -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 diff --git a/bumblebee/config.py b/bumblebee/config.py index 4e746bd..b8c9960 100644 --- a/bumblebee/config.py +++ b/bumblebee/config.py @@ -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" PARAMETER_HELP = "Provide configuration parameters in the form of .=" 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): def __init__(self, option_strings, dest, nargs=None, **kwargs):