Browse Source

change default mode to 'inactive'

Yuki Takei 5 years ago
parent
commit
6e66241664
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/github-actions/list-brahches.js

+ 2 - 2
bin/github-actions/list-brahches.js

@@ -5,7 +5,7 @@
  *  node list-branches [OPTION]
  *  node list-branches [OPTION]
  *
  *
  * OPTIONS:
  * OPTIONS:
- *  --disused : Return disused branches (default)
+ *  --inactive : Return inactive branches (default)
  *  --illegal : Return illegal named branches
  *  --illegal : Return illegal named branches
  */
  */
 
 
@@ -144,7 +144,7 @@ async function main(mode) {
 
 
 const args = process.argv.slice(2);
 const args = process.argv.slice(2);
 
 
-let mode = 'disused';
+let mode = 'inactive';
 if (args.length > 0 && args[0] === '--illegal') {
 if (args.length > 0 && args[0] === '--illegal') {
   mode = 'illegal';
   mode = 'illegal';
 }
 }