environment: Rename '--inherit' to '--preserve'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 4 Mar 2019 13:19:55 +0000 (14:19 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 4 Mar 2019 14:22:59 +0000 (15:22 +0100)
commitdca58219584c1163a9fbf88fccea885eb53bf2af
treeba2d2992b2e638a8fb07c600c8a401a71ced001d
parentbab9cc4aff09a14fdd4178c479becf932992b5b5
environment: Rename '--inherit' to '--preserve'.

Suggested by Eric Bavier and Ricardo Wurmus.

* guix/scripts/environment.scm (show-help, %options): Emit a deprecation
warning for "--inherit" and add -E/--preserve.
* tests/guix-environment.sh: Adjust accordingly.
* doc/guix.texi (Invoking guix environment): Update accordingly.
doc/guix.texi
guix/scripts/environment.scm
tests/guix-environment.sh