diff --git a/CHANGELOG.md b/CHANGELOG.md index c4339b03..da68dcea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - retrieving and displaying all transitive required dependencies ( it can be disabled via the new environment variable **BAUH_ARCH_CHECK_SUBDEPS=0** ) - displaying **makedepends** and **checkdepends** in the info window - Some AUR labels have been changed to not confuse the user +- **--clean** para renamed to **--reset** - Minor UI improvements ### Fixes diff --git a/README.md b/README.md index 102ad4fe..428099c2 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,10 @@ Icon=/home/$USER/bauh_env/lib/python3.7/site-packages/bauh/view/resources/img/lo In order to autostart the application, use your Desktop Environment settings to register it as a startup application / script (**bauh --tray=1**). ### Uninstallation -Before uninstalling bauh via your package manager, consider executing `bauh --clean` to remove configuration and cache files stored in your **HOME** folder. +Before uninstalling bauh via your package manager, consider executing `bauh --reset` to remove configuration and cache files stored in your **HOME** folder. + +### Theme issues +If bauh is not starting properly after changing its style, execute `bauh --reset` to reset its configuration or just delete the **style** key from the file **~/.config/bauh/config.json**. ### Gems ( package technology support ) #### Flatpak ( flatpak ) diff --git a/bauh/app.py b/bauh/app.py index 25a5ce61..cdce29fd 100755 --- a/bauh/app.py +++ b/bauh/app.py @@ -29,7 +29,7 @@ def main(): logger = logs.new_logger(__app_name__, bool(args.logs)) app_args.validate(args, logger) - if args.clean: + if args.reset: util.clean_app_files() exit(0) diff --git a/bauh/app_args.py b/bauh/app_args.py index 8e551f1c..83d8cae3 100644 --- a/bauh/app_args.py +++ b/bauh/app_args.py @@ -36,7 +36,7 @@ def read() -> Namespace: parser.add_argument('--logs', action="store", default=int(os.getenv('BAUH_LOGS', 0)), choices=[0, 1], type=int, help='If the application logs should be displayed. Default: %(default)s') parser.add_argument('--show-panel', action="store_true", help='Shows the management panel after the app icon is attached to the tray.') parser.add_argument('-dmt', '--download-mthread', action="store", default=os.getenv('BAUH_DOWNLOAD_MULTITHREAD', 1), choices=[0, 1], type=int, help='If installation files should be downloaded using multi-threads (only possible if aria2c is installed). Not all gems support this feature. Check README.md. Default: %(default)s') - parser.add_argument('--clean', action="store_true", help='Removes all configuration and cache files') + parser.add_argument('--reset', action="store_true", help='Removes all configuration and cache files') return parser.parse_args()