Skip to content

Commit

Permalink
man: port dump_capability to markdown
Browse files Browse the repository at this point in the history
Signed-off-by: William Roberts <william.c.roberts@intel.com>
  • Loading branch information
William Roberts committed Sep 13, 2017
1 parent 2e52861 commit b716af3
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 51 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ endif
EXTRA_DIST = $(top_srcdir)/man

man1_MANS = \
man/man1/tpm2_dump_capability.1 \
man/man1/tpm2_send_command.1 \
man/man1/tpm2_startup.1 \
man/man1/tpm2_pcrlist.1 \
Expand Down Expand Up @@ -275,6 +274,7 @@ if HAVE_MD2MAN_ROFF
man/man1/tpm2_createpolicy.1 \
man/man1/tpm2_createprimary.1 \
man/man1/tpm2_dictionarylockout.1 \
man/man1/tpm2_dump_capability.1 \
man/man1/tpm2_pcrevent.1
endif

Expand Down
50 changes: 0 additions & 50 deletions man/tpm2_dump_capability.1.in

This file was deleted.

65 changes: 65 additions & 0 deletions man/tpm2_dump_capability.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
tpm2_dump_capability 1 "SEPTEMBER 2017" tpm2-tools
==================================================

NAME
----

tpm2_dump_capability(1) - Display TPM capabilities in a human readable form.

SYNOPSIS
--------

`tpm2_dump_capability` [OPTIONS]

DESCRIPTION
-----------

tpm2_dump_capability(1) - Query the TPM for it's capabilities / properties and
dump them to the console. This is a thin wrapper around the GetCapability
command.

OPTIONS
-------

* `-c`, `--capability`=_CAPABILITY\_NAME_:
The name of the capability group to query.
Currently supported capability groups are:

* properties-fixed:
Display fixed TPM properties.

* properties-variable:
Display variable TPM properties.

* algorithms:
Display data about supported algorithms.

* commands:
Display data about supported commands.

[common options](common/options.md)

[common tcti options](common/tcti.md)

EXAMPLES
--------
```
tpm2_dump_capability --capability="properties-fixed"
```

RETURNS
-------
0 on success or 1 on failure.

BUGS
----
[Github Issues](https://github.com/01org/tpm2-tools/issues)

HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>

0 comments on commit b716af3

Please sign in to comment.