Skip to content

Commit 2278075

Browse files
committed
docs(stackable-versioned): Improve CRD shortname argument description
1 parent 3cbf4a0 commit 2278075

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/stackable-versioned-macros/src/attrs/k8s.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use syn::Path;
1616
/// - `namespaced`, to specify that this is a namespaced resource rather than cluster level.
1717
/// - `crates`: Override specific crates.
1818
/// - `status`: Sets the specified struct as the status subresource.
19-
/// - `shortname`: Sets one or more shortnames for the CRD.
19+
/// - `shortname`: Sets a shortname for the CRD. This can be specified multiple times.
2020
/// - `skip`, which controls skipping parts of the generation.
2121
#[derive(Clone, Debug, FromMeta)]
2222
pub(crate) struct KubernetesArguments {

crates/stackable-versioned-macros/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,8 @@ Currently, the following arguments are supported:
612612
a cluster scoped.
613613
- `crates`: Override specific crates.
614614
- `status`: Sets the specified struct as the status subresource.
615-
- `shortname`: Sets the shortname of the CRD.
615+
- `shortname`: Sets a shortname for the CRD. This can be specified multiple
616+
times.
616617
617618
### Versioning Items in a Module
618619

0 commit comments

Comments
 (0)