fix hintSuccess: `out` was wrong for `nim doc` without `-o` flag (#13569)
fix hintSuccess: `out` was wrong for `nim doc` without `-o` flag (#13569)


dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim