graph: Add '--expression'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 2 Sep 2015 13:23:52 +0000 (15:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 2 Sep 2015 21:40:07 +0000 (23:40 +0200)
commit4c8f997a7d6f4c9d7eae73804e9784b4562eb213
tree57218881248955596a4092d4216bec1a7f43b130
parent4650a77ea8b3ada17f94a4a3b2004f172d0a1498
graph: Add '--expression'.

* guix/scripts/graph.scm (%options, show-help): Add '--expression'.
  (guix-graph): Call 'read/eval-package-expression' for 'expression'
  pairs in OPTS.
* tests/guix-graph.sh: Add tests.
* doc/guix.texi (Invoking guix graph): Document it.
doc/guix.texi
guix/scripts/graph.scm
tests/guix-graph.sh