All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: iw package typo in help command output
       [not found] <CADh-Cm=umBWCkz41-e0-PDnDrbpfQi_PRdT--SePmQLCqj5rwg@mail.gmail.com>
@ 2019-10-21  9:34 ` Ryan Adolf
  2019-10-21 20:07   ` Luca Coelho
  0 siblings, 1 reply; 5+ messages in thread
From: Ryan Adolf @ 2019-10-21  9:34 UTC (permalink / raw)
  To: linux-wireless

Hello,

First of all I'm not sure what the policy of this community is on
typos. It's my first time contributing to iw :) If you consider this
too minor to fix, I understand. The package has a lot of amazing stuff
to it.

While reading through the output of `iw help`, I noticed that
"timestamp" was misspelled as "timstamp":

event [-t|-r] [-f]
Monitor events from the kernel.
-t - print timestamp
-r - print relative timstamp
-f - print full frame for auth/assoc etc.

The erroneous line seems to be
https://git.sipsolutions.net/iw.git/tree/event.c#n1175.

Thanks,
Ryan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: iw package typo in help command output
  2019-10-21  9:34 ` Fwd: iw package typo in help command output Ryan Adolf
@ 2019-10-21 20:07   ` Luca Coelho
  2019-10-22  7:21     ` Ryan Adolf
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Coelho @ 2019-10-21 20:07 UTC (permalink / raw)
  To: Ryan Adolf, linux-wireless

On Mon, 2019-10-21 at 02:34 -0700, Ryan Adolf wrote:
> Hello,
> 
> First of all I'm not sure what the policy of this community is on
> typos. It's my first time contributing to iw :) If you consider this
> too minor to fix, I understand. The package has a lot of amazing stuff
> to it.

Just submit a patch! Then the maintainers will decide whether it's
worth it or not.  I, particularly, don't see why it wouldn't be taken.

--
Cheers,
Luca.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: iw package typo in help command output
  2019-10-21 20:07   ` Luca Coelho
@ 2019-10-22  7:21     ` Ryan Adolf
  2019-10-22  7:38       ` Kalle Valo
  2019-10-22  7:48       ` Toke Høiland-Jørgensen
  0 siblings, 2 replies; 5+ messages in thread
From: Ryan Adolf @ 2019-10-22  7:21 UTC (permalink / raw)
  To: Luca Coelho; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

The patch is attached.
There's only one modified line in it: correcting the typo of timstamp
--> timestamp.

On Mon, Oct 21, 2019 at 1:07 PM Luca Coelho <luca@coelho.fi> wrote:
>
> On Mon, 2019-10-21 at 02:34 -0700, Ryan Adolf wrote:
> > Hello,
> >
> > First of all I'm not sure what the policy of this community is on
> > typos. It's my first time contributing to iw :) If you consider this
> > too minor to fix, I understand. The package has a lot of amazing stuff
> > to it.
>
> Just submit a patch! Then the maintainers will decide whether it's
> worth it or not.  I, particularly, don't see why it wouldn't be taken.
>
> --
> Cheers,
> Luca.
>

[-- Attachment #2: event.patch --]
[-- Type: text/x-patch, Size: 411 bytes --]

diff --git a/event.c b/event.c
index 100f644..4a932d1 100644
--- a/event.c
+++ b/event.c
@@ -1172,5 +1172,5 @@ static int print_events(struct nl80211_state *state,
 TOPLEVEL(event, "[-t|-r] [-f]", 0, 0, CIB_NONE, print_events,
 	"Monitor events from the kernel.\n"
 	"-t - print timestamp\n"
-	"-r - print relative timstamp\n"
+	"-r - print relative timestamp\n"
 	"-f - print full frame for auth/assoc etc.");

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: Fwd: iw package typo in help command output
  2019-10-22  7:21     ` Ryan Adolf
@ 2019-10-22  7:38       ` Kalle Valo
  2019-10-22  7:48       ` Toke Høiland-Jørgensen
  1 sibling, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2019-10-22  7:38 UTC (permalink / raw)
  To: Ryan Adolf; +Cc: Luca Coelho, linux-wireless

Ryan Adolf <ryanadolf123@gmail.com> writes:

> The patch is attached.
> There's only one modified line in it: correcting the typo of timstamp
> --> timestamp.

The patches need to be submitted in certain format. Please carefully
read the documentation (a link in my signature below) how to submit
patches.

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: iw package typo in help command output
  2019-10-22  7:21     ` Ryan Adolf
  2019-10-22  7:38       ` Kalle Valo
@ 2019-10-22  7:48       ` Toke Høiland-Jørgensen
  1 sibling, 0 replies; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-10-22  7:48 UTC (permalink / raw)
  To: Ryan Adolf, Luca Coelho; +Cc: linux-wireless

Ryan Adolf <ryanadolf123@gmail.com> writes:

> The patch is attached.
> There's only one modified line in it: correcting the typo of timstamp
> --> timestamp.

You'll probably need to send this as a properly formatted patch. Pretty
simple to do:

- Make you change (you already did that)
- Run 'git add event.c; git commit -s' and write a commit message; check
  that the signed-off-by has your name and email address right.
- Run 'git format-patch HEAD^' which will produce a file
- Run 'git send-email <filename>.patch' to send it

You'll need some config to teach git how to talk to your SMTP server for
the last one to work. It should be straight-forward to to set it up with
gmail (just Google it).

-Toke


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-22  7:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CADh-Cm=umBWCkz41-e0-PDnDrbpfQi_PRdT--SePmQLCqj5rwg@mail.gmail.com>
2019-10-21  9:34 ` Fwd: iw package typo in help command output Ryan Adolf
2019-10-21 20:07   ` Luca Coelho
2019-10-22  7:21     ` Ryan Adolf
2019-10-22  7:38       ` Kalle Valo
2019-10-22  7:48       ` Toke Høiland-Jørgensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.