[FFmpeg-devel] [PATCH] Make configure --help return 0
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
But I think you consider the user asking help always an error ;-).
FFmpeg = Foolish & Friendly Meaningful Problematic Evil God
More information about the ffmpeg-devel