Skip to content

Commit 4c354b2

Browse files
committed
README: format with mdsh
Use mdsh to keep the option parsing outputs in the README in sync with the script.
1 parent 3dd1bb7 commit 4c354b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ nix run github:numtide/nixos-anywhere -- root@yourip --flake github:your-user/yo
4646
The parameter passed to `--flake` should point to your nixos configuration
4747
exposed in your flake (`nixosConfigurations.your-system` in the example above).
4848

49-
`nixos-anywhere --help`
50-
51-
```shell
49+
<!-- `$ ./src/nixos-anywhere.sh --help` -->
50+
```
5251
Usage: nixos-anywhere [options] ssh-host
5352
5453
Options:

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
perSystem = { config, ... }: {
2828
treefmt = {
2929
projectRootFile = "flake.nix";
30+
programs.mdsh.enable = true;
3031
programs.nixpkgs-fmt.enable = true;
3132
programs.shellcheck.enable = true;
3233
programs.shfmt.enable = true;

0 commit comments

Comments
 (0)