code: func (fs *FlagSet) Visit(fn func(*Flag)) {
  	for _, flag := range sortFlags(fs.actual) {
  		fn(flag)
  	}
  }
docs: // Visit visits the flags in lexicographical order, calling fn for each.
  // It visits only those flags that have been set.