Commits

Diab Jerius committed da8eb61

implement undocument --unset command line option to unset variables

Comments (0)

Files changed (1)

   # set attributes
   $config->set_attr( $_ ) foreach split( ',', $ARGV{attrs} );
 
+  $config->set( $_ => undef )
+    foreach map { split( ',', $_ ) } @{$ARGV{unset}};
+
   return ( $config, $topic_path );
 }
 
 			  comment|c=s
 			  config|f=s
 			  no-config
+			  unset=s@
 			  dryrun|n
 			  help
 			  insecure