gst-convert --quiet is verbose

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-convert --quiet is verbose

Daniele Sciascia
I noticed noticed a small error (probably a copy paste error) in  
Convert.st.
When parsing arguments it sets wrong values for quiet and verbose  
variables:

opt = 'quiet' ifTrue: [
                quiet := false.
                verbose := true ].

while it should be:

opt = 'quiet' ifTrue: [
                quiet := true.
                verbose := false ].



Daniele



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: gst-convert --quiet is verbose

Paolo Bonzini-2
Daniele Sciascia wrote:

> I noticed noticed a small error (probably a copy paste error) in
> Convert.st.
> When parsing arguments it sets wrong values for quiet and verbose
> variables:
>
> opt = 'quiet' ifTrue: [
>         quiet := false.
>         verbose := true ].
>
> while it should be:
>
> opt = 'quiet' ifTrue: [
>         quiet := true.
>         verbose := false ].

Good eye!

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: gst-convert --quiet is verbose

Giuseppe
In reply to this post by Daniele Sciascia
Probably is obvious, or I don't seeing something but.....

I don't know, if quite is True, why you set quiet to true, and why  
change verbose when verbose is not necessary.

If quiet is false, directly is verbose.

                       

El 31/05/2008, a las 18:00, Daniele Sciascia escribió:

> I noticed noticed a small error (probably a copy paste error) in  
> Convert.st.
> When parsing arguments it sets wrong values for quiet and verbose  
> variables:
>
> opt = 'quiet' ifTrue: [
> quiet := false.
> verbose := true ].
>
> while it should be:
>
> opt = 'quiet' ifTrue: [
> quiet := true.
> verbose := false ].
>
>
>
> Daniele
>
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: gst-convert --quiet is verbose

Paolo Bonzini-2
Giuseppe Luigi Punzi Ruiz wrote:
> Probably is obvious, or I don't seeing something but.....
>
> I don't know, if quite is True, why you set quiet to true, and why
> change verbose when verbose is not necessary.
>
> If quiet is false, directly is verbose.

It's also possible to have quiet = verbose = false (i.e. neither
particularly quiet, neither particularly verbose -- that's the default
if neither --quiet nor --verbose is specified).

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk