Bugfix: Remove required flag constraint
The post subcommand does not require a status ID.
--- a/cmd/status.go Wed Mar 21 22:47:40 2018 +0100
+++ b/cmd/status.go Wed Mar 21 23:53:59 2018 +0100
@@ -55,8 +55,6 @@
//statusCmd.PersistentFlags().Int64Var(&statusOpts.maxID, "max-id", 0, "Request IDs less (or equal) than a value")
statusCmd.PersistentFlags().BoolVar(&statusOpts.all, "all", false, "Fetch all results (for reblogged-by/favourited-by)")
- statusCmd.MarkPersistentFlagRequired("status-id")
-
// Subcommand flags
statusReblogSubcommand.Flags().BoolVar(&statusOpts.unset, "unset", false, "Unreblog the status")
statusFavouriteSubcommand.Flags().BoolVar(&statusOpts.unset, "unset", false, "Remove the status from the favourites")