Skip to content

Commit

Permalink
Update telegram.go
Browse files Browse the repository at this point in the history
  • Loading branch information
syhily committed Jan 17, 2024
1 parent 0bd746f commit 8767011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func init() {
f := telegramCmd.Flags()

// Telegram download arguments.
f.StringVarP(&flags.ChannelID, "channelID", "k", flags.ChannelID, "The channel id for telegram")
f.StringVarP(&flags.Mobile, "mobile", "b", flags.Mobile, "The mobile number, we will add +86 as default zone code")
f.StringVarP(&flags.ChannelID, "channelID", "", flags.ChannelID, "The channel id for telegram")
f.StringVarP(&flags.Mobile, "mobile", "", flags.Mobile, "The mobile number, we will add +86 as default zone code")
f.BoolVar(&flags.ReLogin, "refresh", flags.ReLogin, "Refresh the login session")
f.Int64Var(&flags.AppID, "appID", flags.AppID, "The app id for telegram")
f.StringVar(&flags.AppHash, "appHash", flags.AppHash, "The app hash for telegram")
Expand Down

0 comments on commit 8767011

Please sign in to comment.