diff --git a/Makefile b/Makefile index af6cc580..b4406806 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,11 @@ help: .PHONY: check check: - @${CARGO_BIN} test ${CARGO_ARGS} ${CARGO_COLOR}--target-dir="${CARGO_TARGET_DIR}" --workspace + @${CARGO_BIN} check ${CARGO_ARGS} ${CARGO_COLOR}--target-dir="${CARGO_TARGET_DIR}" ${FEATURES} --all --tests --examples --benches --bins + +.PHONY: test +test: + @${CARGO_BIN} test ${CARGO_ARGS} ${CARGO_COLOR}--target-dir="${CARGO_TARGET_DIR}" --all --tests --examples --benches --bins .PHONY: check-deps check-deps: diff --git a/docs/meli.1 b/docs/meli.1 index 8a721d7e..d497b89f 100644 --- a/docs/meli.1 +++ b/docs/meli.1 @@ -65,6 +65,12 @@ Create configuration file in .Pa path if given, or at .Pa $XDG_CONFIG_HOME/meli/config.toml +.It Cm edit-config +Edit configuration files with +.Ev EDITOR +or +.Ev VISUAL Ns +\&. .It Cm test-config Op Ar path Test a configuration file for syntax issues or missing options. .It Cm man Op Ar page diff --git a/docs/meli.7 b/docs/meli.7 index c54a98ff..f4107170 100644 --- a/docs/meli.7 +++ b/docs/meli.7 @@ -77,10 +77,6 @@ To quit press .Shortcut q general quit at any time. -To go to the next tab on the right, press -.ShortcutPeriod T general next_tab -\&. -.Pp When launched for the first time, .Nm will search for its configuration directory, @@ -112,6 +108,10 @@ Or alternatively: [shortcuts.general] toggle_help = 'F1' .Ed +.Pp +To go to the next tab on the right, press +.ShortcutPeriod T general next_tab +\&. .Sh INTERACTING WITH Nm You will be interacting with .Nm diff --git a/src/args.rs b/src/args.rs index d4c0d34a..6ab3c325 100644 --- a/src/args.rs +++ b/src/args.rs @@ -65,7 +65,7 @@ pub enum SubCommand { PrintDefaultTheme, /// print loaded themes in full to stdout and exit. PrintLoadedThemes, - /// edit configuration files in `$EDITOR`/`$VISUAL`. + /// edit configuration files with `$EDITOR`/`$VISUAL`. EditConfig, /// create a sample configuration file with available configuration options. /// If PATH is not specified, meli will try to create it in