[vlc-devel] commit: Don' t take removed options into account when checking if a module has non advanced help options . (Antoine Cellerier )
git version control
git at videolan.org
Tue Sep 2 13:29:21 CEST 2008
vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Tue Sep 2 13:31:17 2008 +0200| [a301fc7f064ee27e17b9c138693f1b0031835321] | committer: Antoine Cellerier
Don't take removed options into account when checking if a module has non advanced help options.
(cherry picked from commit 72efa9882189b439435a19b2ba2662c437c4de89)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a301fc7f064ee27e17b9c138693f1b0031835321
---
src/libvlc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index b38159c..3820ef3 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1469,7 +1469,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
p_item++ )
{
if( (p_item->i_type & CONFIG_ITEM) &&
- !p_item->b_advanced ) break;
+ !p_item->b_advanced && !p_item->b_removed ) break;
}
if( p_item == p_end )
More information about the vlc-devel
mailing list