diff --git a/NodeApp/src/commander/assignment/subcommands/AssignmentPublishUnpublishCommandBase.ts b/NodeApp/src/commander/assignment/subcommands/AssignmentPublishUnpublishCommandBase.ts index acc361c3ffd9e01d2adf65a55bc187c7180720c5..3c7c1d86e5c365d9b12e23d28487f8f5a3edcf67 100644 --- a/NodeApp/src/commander/assignment/subcommands/AssignmentPublishUnpublishCommandBase.ts +++ b/NodeApp/src/commander/assignment/subcommands/AssignmentPublishUnpublishCommandBase.ts @@ -13,7 +13,7 @@ abstract class AssignmentPublishUnpublishCommandBase extends CommanderCommand { protected defineCommand() { this.command - .description('publish an assignment') + .description(`${ this.publish ? 'publish' : 'unpublish' } an assignment`) .argument('<name or url>', 'name or url (http/s or ssh) of the assignment') .option('-f, --force', 'don\'t ask for confirmation') .action(this.commandAction.bind(this));