From: AsamK Date: Sun, 19 Feb 2017 16:17:55 +0000 (+0100) Subject: Rename man page to show it rendered on github X-Git-Tag: v0.5.6~25 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/8e8de2fe3922f3e06c0ccd24213fb7c2e7fbfce9?ds=sidebyside Rename man page to show it rendered on github --- diff --git a/README.md b/README.md index 3e354013..5526a9e6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ sudo ln -sf /opt/signal-cli-"${VERSION}"/bin/signal-cli /usr/local/bin/ usage: signal-cli [-h] [-v] [--config CONFIG] [-u USERNAME | --dbus | --dbus-system] {link,addDevice,listDevices,removeDevice,register,verify,send,quitGroup,updateGroup,listIdentities,trust,receive,daemon} ... -See also: [man page in asciidoc format](https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.txt) +See also: [man page in asciidoc format](https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.adoc) The USERNAME (your phone number) must include the country calling code, i.e. the number must start with a "+" sign. (See [Wikipedia](https://en.wikipedia.org/wiki/List_of_country_calling_codes) for a list of all country codes. diff --git a/man/Makefile b/man/Makefile index 47ccd35f..adbe7394 100644 --- a/man/Makefile +++ b/man/Makefile @@ -5,6 +5,6 @@ MANPAGESRC = signal-cli.1 .PHONY: all all: $(MANPAGESRC) -%: %.txt +%: %.adoc @echo "Generating manpage for $@" $(A2X) --no-xmllint --doctype manpage --format manpage "$^" diff --git a/man/signal-cli.1.txt b/man/signal-cli.1.adoc similarity index 99% rename from man/signal-cli.1.txt rename to man/signal-cli.1.adoc index a3ccf347..d4a85104 100644 --- a/man/signal-cli.1.txt +++ b/man/signal-cli.1.adoc @@ -3,8 +3,7 @@ vim:set ts=4 sw=4 tw=82 noet: ///// :quotes.~: -signal-cli (1) -============ += signal-cli (1) Name ---- @@ -67,14 +66,14 @@ VERIFICATIONCODE:: The verification code. unregister -~~~~~~~~ +~~~~~~~~~~ Disable push support for this device, i.e. this device won't receive any more messages. If this is the master device, other users can't send messages to this number anymore. Use "updateAccount" to undo this. To remove a linked device, use "removeDevice" from the master device. updateAccount -~~~~~~~~ +~~~~~~~~~~~~~ Update the account attributes on the signal server. Can fix problems with receiving messages.