Don't use a parenthetical (s) to indicate that a word could be either singular or plural. Instead, use either plural or singular constructions and keep things consistent throughout your documentation. Choose what is most appropriate for your documentation and your audience.
If it's important in a specific context to indicate both, use one or more.
Do | Don't |
---|---|
You can use a physical linecard, which can contain one or more ports. | You can use a physical linecard, which can contain port(s). |
Per The IBM Style Guide, this can cause translation problems. In addition, this construction doesn't flow like plain English. Instead, just use the plural form of the word.