Skip to content

Commit 6e782b9

Browse files
authored
Merge pull request #49 from pyrotelekinetic/update-nixos-version
nixos-version: Add missing options
2 parents a7c8781 + ca444b0 commit 6e782b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_nixos-version

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
_nix-common-options
55

66
_arguments \
7-
'(- *)'{--hash,--revision}'[Print only the git hash of the channel]'\
7+
'(- *)'{--hash,--revision}'[Show the full SHA1 hash of the Git commit from which this configuration was built.]'\
8+
'--configuration-revision[Show the configuration revision if available.]'\
9+
'--json[Print a JSON representation of the versions of NixOS and the top-level configuration flake.]'

0 commit comments

Comments
 (0)