[FFmpeg-devel] [PATCH] Make configure --help return 0

Stefano Sabatini stefano.sabatini-lala
Thu Oct 9 22:12:20 CEST 2008


On date Thursday 2008-10-09 20:46:16 +0100, M?ns Rullg?rd encoded:
> Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> 
> > Hi,
> > as in subject, implements the expected behaviour.
> >
> > Regards.
> > -- 
> > FFmpeg = Frightening & Fostering Monstrous Purposeless Extravagant God
> >
> > Index: configure
> > ===================================================================
> > --- configure	(revision 15592)
> > +++ configure	(working copy)
> > @@ -191,7 +191,7 @@
> >    echo "  --disable-stripping      disable stripping of executables and shared libraries"
> >    echo ""
> >    echo "NOTE: Object files are built at the place where configure is launched."
> > -  exit 1
> > +  exit 0
> >  }
> 
> If that's what people expect, it's OK.  I never use --help myself.

Yes, if the program did what it is supposed to do successfully, that
is to show help in this case, then it is supposed to return 0, so
committed.

But I think you consider the user asking help always an error ;-).

Regards.
-- 
FFmpeg = Foolish & Friendly Meaningful Problematic Evil God




More information about the ffmpeg-devel mailing list