Skip to content

Commit f38f0f7

Browse files
committed
Format
Signed-off-by: Julien Jerphanion <[email protected]>
1 parent b58e2c8 commit f38f0f7

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

docs/source/user_guide/micromamba.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ These subcommands generate shell-specific activation code that can be used in sc
7575
7676
# Generate activation code for bash
7777
micromamba shell activate -p /path/to/env -s bash
78-
78+
7979
# Generate deactivation code
8080
micromamba shell deactivate -s bash
81-
81+
8282
# Use in a script
8383
eval "$(micromamba shell activate -p /path/to/env -s bash)"
8484
@@ -88,7 +88,7 @@ Supported Shells
8888
The shell command supports the following shells:
8989

9090
* ``bash`` - Bash shell
91-
* ``zsh`` - Z shell
91+
* ``zsh`` - Z shell
9292
* ``fish`` - Fish shell
9393
* ``powershell`` - PowerShell
9494
* ``cmd.exe`` - Windows Command Prompt

micromamba/src/shell.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,10 @@ set_shell_command(CLI::App* shell_subcmd, Configuration& config)
402402
);
403403
set_shell_reinit_command(reinit_subsubcmd, config);
404404

405-
auto* hook_subsubcmd = shell_subcmd->add_subcommand("hook", "Output shell hook scripts for environment activation");
405+
auto* hook_subsubcmd = shell_subcmd->add_subcommand(
406+
"hook",
407+
"Output shell hook scripts for environment activation"
408+
);
406409
set_shell_hook_command(hook_subsubcmd, config);
407410

408411
auto* acti_subsubcmd = shell_subcmd->add_subcommand(

micromamba/src/umamba.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ set_umamba_command(CLI::App* com, mamba::Configuration& config)
3939

4040
com->add_flag_function("--version", print_version);
4141

42-
CLI::App* shell_subcom = com->add_subcommand("shell", "Launch a shell or manage shell initialization scripts");
42+
CLI::App* shell_subcom = com->add_subcommand(
43+
"shell",
44+
"Launch a shell or manage shell initialization scripts"
45+
);
4346
set_shell_command(shell_subcom, config);
4447

4548
CLI::App* create_subcom = com->add_subcommand("create", "Create new environment");

0 commit comments

Comments
 (0)