radcan vs radexpand and documentation



The documentation for radcan says:

     When `radexpand' is `false', certain transformations are inhibited.
     `radcan (sqrt (1-x))' remains `sqrt (1-x)' and is not simplified
     to `%i sqrt (x-1)'.  `radcan (sqrt (x^2 - 2*x + 11))' remains
     `sqrt (x^2 - 2*x + 1)' and is not simplified to `x - 1'.

(Note that there's a typo:  11 not 1.)

So, let's try it:

    (%i7) display2d:false;

    (%o7) false
    (%i8) radexpand:false;

    (%o8) false
    (%i9) radcan(sqrt(1-x));

    (%o9) sqrt(1-x)

This looks good.

    (%i10) radcan(sqrt(x^2-2*x+1));

    (%o10) x-1

Uh, that's not the documentation says.

What is supposed to happen here?

Ray