If you really want to use bit-wise options then the followign is a much better approach:
Code:

bit 1 = port info
bit 2 = local printers
bit 3 = remote printers


This leaves room for expansion after bit three, thus
Code:

0 = nothing
1 = show port info, thus nothing
2 = show local printers
3 = show local printers, port info
4 = show remote printers
5 = show remote printers, port info
6 = show local and remote printers
7 = show local and remote printers, port info

_________________________
There are two types of vessels, submarines and targets.