You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, fmt.Errorf("failed to refresh access token: %v", err)
52
+
returnnil, fmt.Errorf("failed to refresh access token: %v. Your session may have expired completely. Please run 'alpacon login' to authenticate again", err)
Copy file name to clipboardExpand all lines: cmd/agent/agent.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ var AgentCmd = &cobra.Command{
13
13
iferr!=nil {
14
14
returnerr
15
15
}
16
-
returnerrors.New("subcommand error")
16
+
returnerrors.New("a subcommand is required. Use 'alpacon agent upgrade', 'alpacon agent restart', or 'alpacon agent shutdown' to manage the server agent. Run 'alpacon agent --help' for more information")
Copy file name to clipboardExpand all lines: cmd/authority/authority.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ var AuthorityCmd = &cobra.Command{
13
13
iferr!=nil {
14
14
returnerr
15
15
}
16
-
returnerrors.New("subcommand error")
16
+
returnerrors.New("a subcommand is required. Use 'alpacon authority create', 'alpacon authority list', 'alpacon authority detail', 'alpacon authority download', or 'alpacon authority delete'. Run 'alpacon authority --help' for more information")
Copy file name to clipboardExpand all lines: cmd/cert/cert.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ var CertCmd = &cobra.Command{
14
14
iferr!=nil {
15
15
returnerr
16
16
}
17
-
returnerrors.New("subcommand error")
17
+
returnerrors.New("a subcommand is required. Use 'alpacon cert list', 'alpacon cert detail', or 'alpacon cert download' to manage SSL/TLS certificates. Run 'alpacon cert --help' for more information")
Copy file name to clipboardExpand all lines: cmd/iam/group.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ var GroupCmd = &cobra.Command{
17
17
iferr!=nil {
18
18
returnerr
19
19
}
20
-
returnerrors.New("subcommand error")
20
+
returnerrors.New("a subcommand is required. Use 'alpacon group list', 'alpacon group create', 'alpacon group detail', 'alpacon group delete', or 'alpacon group member' to manage groups. Run 'alpacon group --help' for more information")
Copy file name to clipboardExpand all lines: cmd/iam/member.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ var MemberCmd = &cobra.Command{
18
18
iferr!=nil {
19
19
returnerr
20
20
}
21
-
returnerrors.New("subcommand error")
21
+
returnerrors.New("a subcommand is required. Use 'alpacon group member add' or 'alpacon group member delete' to manage group membership. Run 'alpacon group member --help' for more information")
0 commit comments