doc: change one occurance of --xml to --json
This commit is contained in:
parent
0cb54d44ca
commit
8590e39e01
62
doc/meta.xml
62
doc/meta.xml
@ -33,33 +33,41 @@ the package. The value of a meta-attribute must a string.</para>
|
|||||||
command-line using <command>nix-env</command>:
|
command-line using <command>nix-env</command>:
|
||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
$ nix-env -qa hello --meta --xml
|
$ nix-env -qa hello --meta --json
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
{
|
||||||
<items>
|
"hello": {
|
||||||
<item attrPath="nixos.pkgs.hello" name="hello-2.9" system="x86_64-linux">
|
"meta": {
|
||||||
<meta name="description" type="string" value="A program that produces a familiar, friendly greeting" />
|
"description": "A program that produces a familiar, friendly greeting",
|
||||||
<meta name="homepage" type="string" value="http://www.gnu.org/software/hello/manual/" />
|
"homepage": "http://www.gnu.org/software/hello/manual/",
|
||||||
<meta name="license" type="string" value="GPLv3+" />
|
"license": {
|
||||||
<meta name="longDescription" type="string" value="GNU Hello is a program that prints &quot;Hello, world!&quot; when you run it.&#xA;It is fully customizable.&#xA;" />
|
"fullName": "GNU General Public License version 3 or later",
|
||||||
<meta name="maintainers" type="strings">
|
"shortName": "GPLv3+",
|
||||||
<string value="Ludovic Courtès &lt;ludo@gnu.org&gt;" />
|
"url": "http://www.fsf.org/licensing/licenses/gpl.html"
|
||||||
</meta>
|
},
|
||||||
<meta name="platforms" type="strings">
|
"longDescription": "GNU Hello is a program that prints \"Hello, world!\" when you run it.\nIt is fully customizable.\n",
|
||||||
<string value="i686-linux" />
|
"maintainers": [
|
||||||
<string value="x86_64-linux" />
|
"Ludovic Court\u00e8s <ludo@gnu.org>"
|
||||||
<string value="armv5tel-linux" />
|
],
|
||||||
<string value="armv7l-linux" />
|
"platforms": [
|
||||||
<string value="mips64el-linux" />
|
"i686-linux",
|
||||||
<string value="x86_64-darwin" />
|
"x86_64-linux",
|
||||||
<string value="i686-cygwin" />
|
"armv5tel-linux",
|
||||||
<string value="i686-freebsd" />
|
"armv7l-linux",
|
||||||
<string value="x86_64-freebsd" />
|
"mips64el-linux",
|
||||||
<string value="i686-openbsd" />
|
"x86_64-darwin",
|
||||||
<string value="x86_64-openbsd" />
|
"i686-cygwin",
|
||||||
</meta>
|
"i686-freebsd",
|
||||||
<meta name="position" type="string" value="/nix/store/cn8zjjdd9kvmp1p5d21h7ya0cr1jhkk3-nixos-14.10pre44264.12f06b3/nixos/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:14" />
|
"x86_64-freebsd",
|
||||||
</item>
|
"i686-openbsd",
|
||||||
</items>
|
"x86_64-openbsd"
|
||||||
|
],
|
||||||
|
"position": "/home/ielectric/dev/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:14"
|
||||||
|
},
|
||||||
|
"name": "hello-2.9",
|
||||||
|
"system": "x86_64-linux"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user