Details Ticket 2775


Comment | Reply | Take | Open


Serial Number 2775
Subject help argument not noticed among others
Area grass6
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status resolved
Last User Contact Thu Aug 3 16:58:29 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Aug 3 16:58:29 2006 (2 yr ago)
Created Sun Dec 5 06:35:59 2004 (4 yr ago)

Transaction History Ticket 2775


Sun, Dec 5 2004 06:35:59    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject help argument not noticed among others
From Dan Jacobson <jidanni@jidanni.org>
Date Sun, 05 Dec 2004 08:29:24 +0800
Message-ID <87sm6lsi3f.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.5 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_03_06
X-Spam-Level
Help argument not noticed among:
$ v.distance -p help from=shicorner2 to=shicorner2 upload=dist,to_along column=1,5
5.7.0


Sun, Dec 5 2004 08:13:48    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 5 Dec 2004 20:13:34 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2775] (grass) help argument not noticed among others
Message-Id <20041205201334.27d7f48d.hamish_nospam@yahoo.com>
In-Reply-To <20041205053559.7128A100169@lists.intevation.de>
References <20041205053559.7128A100169@lists.intevation.de>
X-Mailer Sylpheed version 0.9.99 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2775
> ---------------------------------------------------------------------
> 
> Help argument not noticed among:
> $ v.distance -p help from=shicorner2 to=shicorner2 \
>     upload=dist,to_along column=1,5 5.7.0


That should give you an error ... does it?



anything but

v.distance help
v.distance --help

should give you an error. 'help' is only scanned for as the first
arguement, anything after the 'help' is ignored.

The error should show the usage screen though, so little harm.


If some text is given, the parser assumes it is the first arguement,
e.g.

d.erase color=blue
d.erase blue


compare 
 d.erase blue help
with 
 d.erase help blue



Hamish


Wed, Dec 8 2004 00:05:17    Mail sent by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To Hamish via RT <grass-bugs@intevation.de>
Subject Re: [bug #2775] (grass) help argument not noticed among
References <20041205071348.2664B102BD8@lists.intevation.de>
From Dan Jacobson <jidanni@jidanni.org>
Date Tue, 07 Dec 2004 08:15:22 +0800
Message-ID <87r7m3ezfp.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.2 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_12_24
X-Spam-Level
>> Help argument not noticed among:
>> $ v.distance -p help from=shicorner2 to=shicorner2 \
>> upload=dist,to_along column=1,5 5.7.0
H> That should give you an error ... does it?
No, else I wouldn't have sent it in. I see (5.7.0):
o_along column=1,5
from_cat|1|5
22222|0.000000|0.000000

Statistics:
21183 categories with more than 1 feature in 'from'
21183 categories - no nearest feature found


Wed, Dec 7 2005 21:37:16    Mail sent by msieczka  
bug still active in 6.1, but minor

Maciek
Wed, Dec 7 2005 21:37:27    Area changed to grass6 by msieczka  
Thu, Aug 3 2006 15:18:19    Comments added by guest  
Cc: tutey@o2.pl

Confirmed as well on 2006-07-31 cvs.

~ Eric.
<epatton at nrcan dot gc dot ca>
Thu, Aug 3 2006 15:51:07    Mail sent by mneteler  
Hi,

in the reported case 'help' is taken as map name (valid for almost
all GRASS commands).

Markus
Thu, Aug 3 2006 16:58:29    Status changed to resolved by msieczka  
Thu, Aug 3 2006 16:58:29    Mail sent by msieczka  
mneteler wrote (Thu, Aug 3 2006 15:51:07):

> in the reported case 'help' is taken as map name (valid for almost
> all GRASS commands).

Wouldn't have thought it's that simple. Closing it.

Maciek
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request