gs

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/gs
Log | Files | Refs | LICENSE

commit 7b4b3b7c53668a4bc6dbf4b04cb7f11071fc805d
parent 0b8c8315cedc58202c17a29cfb42a92c62c0f6ab
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Tue, 15 Aug 2017 16:08:05 -0700

Add customization section to man page

Diffstat:
README.md | 11+++++++++--
gs.1 | 9++++++---
gs.c | 2+-
3 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md @@ -111,13 +111,20 @@ $ gs -u your-name:password plugin/func.vim doc/func.txt https://gist.github.com/<new-id> ``` +## CUSTOMIZATION + +gs is customized by creating a custom `config.h` and (re)compiling the source +code. This keeps it fast, secure and simple. Most customization can be done +through the command line interface however, so basic aliases could also be +utilized. + ## AUTHOR -Ed van Bruggen <edvb54@gmail.com> +Ed van Bruggen <ed@edryd.org> ## SEE ALSO -See project page at <http://edryd.org/projects/gs.html> +See project page at <https://edryd.org/projects/gs.html> View source code at <https://github.com/edvb/gs> diff --git a/gs.1 b/gs.1 @@ -6,7 +6,7 @@ gs - painless gist creator .PP .SH SYNOPSIS -\fBgs\fP [\fB-pPhv\fP] [\fB-e\fP \fIID\fP [\fB-D\fP \fIFILE\fP] ] [\fB-d\fP \fIDESCRIPTION\fP] [\fB-f\fP \fIFILENAME\fP] [\fB-g\fP \fIGITHUB_URL\fP] [\fB-u\fP \fIUSER\fP[:\fIPASSWORD\fP] | \fB-U\fP] [\fIFILES\fP ...] +\fBgs\fP [\fB-pPhv\fP] [\fB-e\fP \fIID\fP [\fB-D\fP \fIFILE\fP] ] [\fB-d\fP \fIDESCRIPTION\fP] [\fB-f\fP \fIFILENAME\fP] [\fB-g\fP \fIGITHUB_URL\fP] [\fB-u\fP \fIUSER\fP[:\fIPASSWORD\fP] | \fB-U\fP] \fIFILES\fP ... .PP .SH DESCRIPTION Easy way to create GitHub Gists through the command line. @@ -145,11 +145,14 @@ https://gist.github.com/<new-id> .EE .RE .PP +.SH CUSTOMIZATION +gs is customized by creating a custom `\f[CR]config.h\fP' and (re)compiling the source code. This keeps it fast, secure and simple. Most customization can be done through the command line interface however, so basic aliases could also be utilized. +.PP .SH AUTHOR -Ed van Bruggen <edvb54@gmail.com> +Ed van Bruggen <ed@edryd.org> .PP .SH SEE ALSO -See project page at <http://edryd.org/projects/gs.html> +See project page at <https://edryd.org/projects/gs.html> .PP View source code at <https://github.com/edvb/gs> .PP diff --git a/gs.c b/gs.c @@ -191,7 +191,7 @@ static void usage(const int eval) { die(eval, "usage: %s [-pPhv] [-e ID [-D FILE]] [-d DESCRIPTION] [-f FILENAME]\n" - " [-g GITHUB_URL] [-u USER[:PASSWORD] | -U] [FILES ...]", argv0); + " [-g GITHUB_URL] [-u USER[:PASSWORD] | -U] FILES ...", argv0); } int