X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-paste.1.txt;h=c9bd9ff23a211294de0b106d8699491d88ec2a59;hb=0e76b316a103432065060179bcb4989918e92380;hp=4d5d96045ff7f868ae16ba97b99481206f3535cd;hpb=25f93c65388e1d4b4d6f6e10386f78e7a1cbdc25;p=grml-paste.git diff --git a/grml-paste.1.txt b/grml-paste.1.txt index 4d5d960..c9bd9ff 100644 --- a/grml-paste.1.txt +++ b/grml-paste.1.txt @@ -7,36 +7,94 @@ grml-paste - command line interface for paste.grml.org Synopsis -------- -grml-paste [-n nick] [-s summary] [-f source] [-h|--help] +grml-paste [options] ACTION Description ----------- -grml-paste is a command line interface for uploading plain text to http://paste.grml.org/ +grml-paste is a command line interface for uploading plain text to https://paste.grml.org/ Options ------- - -n **nick**:: + **-e 'hours', --expire='HOURS'**:: -Set your nickname (defaults to Anonymous). +Time at which paste should expire. - -s **summary**:: + **-h, --help**:: -Specify a summary of your paste (defaults to none). +Print help text. - -f **source**:: + **-l 'lang', --lang='LANG'**:: -Sets the file to read from, use - to read from stdin. +Type of language to highlight. - --help:: + **-n 'name', --name='NAME'**:: -Print help text. +Set your nickname (defaults to login username). + + **-s 'server', --server='SERVER'**:: + +Set URL of paste server (defaults to paste.grml.org). + + **-p, --private**:: + +Make private (hidden) submission to server, thus your paste is not visible on the webpage. + + **-v, --verbose**:: + +More verbose output. + +Actions +------- + + **add**:: + +Add paste to the server: <1.line> <2.line> ... + + **del ''**:: + +Delete paste from server. + + **get ''**:: + +Get paste from server. + + **addurl ''**:: + +Add short-URL. + + **geturl ''**:: + +Resolve short-URL. + + **getclicks ''**:: + +Get clicks of short-URL. + + **getlangs**:: + +Get supported language highlighting types from server. + + **help **:: + +Print more verbose help about specified ''. + +Usage examples +-------------- + + **dmesg | tail | grml-paste add --name=grmluser**:: + +Upload last ten lines of dmesg output as user 'grmluser'. + + **grep -e EE -e WW /var/log/Xorg.0.log | grml-paste add -p**:: + +Upload error and warning messages of X.org log as hidden entry. Bugs ---- -Please report feedback, link:http://grml.org/bugs/[bugreports] and wishes link:http://grml.org/contact/[to us]! +Please report feedback, link:https://grml.org/bugs/[bugreports] and wishes link:https://grml.org/contact/[to the grml team]. Authors ------- -Nico Golde +Michael Gebetsroither