]> nmode's Git Repositories - signal-cli/commitdiff
Rename man page to show it rendered on github
authorAsamK <asamk@gmx.de>
Sun, 19 Feb 2017 16:17:55 +0000 (17:17 +0100)
committerAsamK <asamk@gmx.de>
Sun, 19 Feb 2017 16:35:58 +0000 (17:35 +0100)
README.md
man/Makefile
man/signal-cli.1.adoc [moved from man/signal-cli.1.txt with 99% similarity]

index 3e354013ec7a11f398dcf24e02feff0bb07f8331..5526a9e64dad631038e7827c440632b65a71bac5 100644 (file)
--- 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.
 
index 47ccd35f751f90cbbd9e8f994b8ac3cc42b55d0c..adbe7394517ec71b5ba150a8502b1f73fade51e0 100644 (file)
@@ -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 "$^"
similarity index 99%
rename from man/signal-cli.1.txt
rename to man/signal-cli.1.adoc
index a3ccf3475384687e084d2b732ba41ae1cedf44a5..d4a85104bc69cf4e93e4221278a7239f24614297 100644 (file)
@@ -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.