# HG changeset patch # User Mikael Berthe # Date 1521672839 -3600 # Node ID b0bc0a131b59a7d4a02c618727b66abad5737582 # Parent 78fe649d7fc94bb09a144e1446a68cb2ba7c6588 Bugfix: Remove required flag constraint The post subcommand does not require a status ID. diff -r 78fe649d7fc9 -r b0bc0a131b59 cmd/status.go --- 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")