docs: add edit-config in manpages

pull/211/head
Manos Pitsidianakis 2023-05-01 08:43:36 +03:00
parent b1a7188771
commit 30cc5d3d02
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
4 changed files with 16 additions and 6 deletions

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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