Changeset 5435
- Timestamp:
- 04/29/2017 07:37:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/bin/import-plugin-to-glotpress.php
r4223 r5435 21 21 } 22 22 23 foreach ( array( 'url', 'abspath', 'plugin' ) as $opt ) {23 foreach ( array( 'url', 'abspath', 'plugin', 'tag', 'type' ) as $opt ) { 24 24 if ( empty( $opts[ $opt ] ) ) { 25 25 fwrite( STDERR, "Missing Parameter: $opt\n" ); 26 fwrite( STDERR, "Usage: php {$argv[0]} --plugin hello-dolly --abspath /home/example/public_html --url https://wordpress.org/plugins/ \n" );26 fwrite( STDERR, "Usage: php {$argv[0]} --plugin hello-dolly --abspath /home/example/public_html --url https://wordpress.org/plugins/ --tag trunk --type readme\n" ); 27 27 fwrite( STDERR, "--url and --abspath will be guessed if possible.\n" ); 28 28 die();
Note: See TracChangeset
for help on using the changeset viewer.