[issue903] grml-paste: Add some meaningful example

Sedat Dilek bts at bts.grml.org
Sun Sep 5 16:42:56 CEST 2010


New submission from Sedat Dilek <sedat.dilek at gmail.com>:

Hi,

when testing grml-daily (2010-09-05) sid/32-bit, I discovered some bugs and
wanted to paste them.

Hopefully, there is grml-paste script... Yay!

But, the usage is not very well explained... or in other words needs some better
example(s).

Personally, I would expect a usage like this:

     $ grml-paste $file

But you want action-jackson :-).

     $ grml-paste --help
     Usage: grml-paste [options] ACTION <args>

OK, here are two useful and meaningful usage of grml-paste command:

EXAMPLE #1:
     cat /var/log/Xorg.0.log | grml-paste add --name=NAME
     --- or even better(?) ---
     grml-paste add < /var/log/Xorg.0.log (*)

(*) A user on IRC claimed about useless use of cat...

Another helpful example could be:

EXAMPLE #2:
     dmesg | grml-paste add --name=NAME

Just suggestions...
As I am not being new to u*nix systems, this was not very clear to me.

I would prefer to see the "-n NAME, --name=NAME  Name of poster" option in the
examples, as "anonymous" is not helpful to poster/paster or paste-reader.
As NAME I would expect the IRC-nickname :-).
But this is all up2U.

Kind Regards,
- Sedat -

----------
messages: 3346
nosy: dileX
priority: wish
status: unread
title: grml-paste: Add some meaningful example

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue903>
_____________________________________


More information about the Bugs-changes mailing list