diff --git a/package.json b/package.json index 3947cca..3740f82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/artisan", - "version": "4.24.0", + "version": "4.25.0", "description": "The Athenna CLI application. Built on top of commander and inspired in @adonisjs/ace.", "license": "MIT", "author": "João Lenon ", diff --git a/src/helpers/Formatter.ts b/src/helpers/Formatter.ts index 0f4709f..7b290ad 100644 --- a/src/helpers/Formatter.ts +++ b/src/helpers/Formatter.ts @@ -22,7 +22,7 @@ export class Formatter { private helpWidth: number = 0 private indent: string = '' private moveOptions: any = false - private matchRequiredArgs = /\[(.*?)\]/ + private matchRequiredArgs = /<(.*?)>/ private matchOptionsAndOptionalArgs = /\[(.*?)\]/ private sections = { description: '',