diff options
-rwxr-xr-x | bin/syncqt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt index 451521c97b..b8671063c4 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -82,6 +82,7 @@ sub showUsage print " -outdir <PATH> Specify output directory for sync (default: $out_basedir)\n"; print " -quiet Only report problems, not activity (default: " . ($quiet ? "yes" : "no") . ")\n"; print " -separate-module <NAME>:<PROFILEDIR>:<HEADERDIR> Create headers for <NAME> with original headers in <HEADERDIR> relative to <PROFILEDIR> \n"; + print " -private Force copy private headers (default: " . ($create_private_headers ? "yes" : "no") . ")\n"; print " -help This help\n"; exit 0; } @@ -589,6 +590,9 @@ while ( @ARGV ) { } elsif($arg eq "-quiet") { $var = "quiet"; $val = "yes"; + } elsif($arg eq "-private") { + $var = "create_private_headers"; + $val = "yes"; } elsif($arg eq "-base-dir") { # skip, it's been dealt with at the top of the file shift @ARGV; @@ -651,7 +655,6 @@ while ( @ARGV ) { push @modules_to_sync, $module; $moduleheaders{$module} = $headerdir; $create_uic_class_map = 0; - $create_private_headers = 0; } elsif ($var eq "output") { my $outdir = $val; if(checkRelative($outdir)) { |