doc: add man page for nixos-version (#16869)

This commit is contained in:
Graham Christensen
2016-07-12 16:29:13 +02:00
committed by Domen Kožar
parent 3df7f3cbc3
commit d9724bcdbf
3 changed files with 106 additions and 0 deletions
@@ -1,6 +1,9 @@
#! @shell@
case "$1" in
--help)
exec man nixos-version
exit 1
--hash|--revision)
echo "@nixosRevision@"
;;